Merge pull request #1149 from yubiuser/remove/action_rust

Remove actions-rs/toolchain
This commit is contained in:
Roderick van Domburg 2023-04-13 20:03:54 +02:00 committed by GitHub
commit 7f6c126753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,11 +68,7 @@ jobs:
uses: actions/checkout@v3.5.0 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1.0.7 run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
@ -120,11 +116,7 @@ jobs:
uses: actions/checkout@v3.5.0 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1.0.7 run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
@ -167,12 +159,7 @@ jobs:
uses: actions/checkout@v3.5.0 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1.0.7 run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
with:
profile: minimal
target: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
override: true
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
@ -208,12 +195,7 @@ jobs:
uses: actions/checkout@v3.5.0 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1.0.7 run: curl https://sh.rustup.rs -sSf | sh -s -- --profile default --default-toolchain ${{ matrix.toolchain }} -y
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
components: clippy
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
@ -243,16 +225,11 @@ jobs:
fmt: fmt:
needs: clippy needs: clippy
name: cargo +${{ matrix.toolchain }} fmt name: cargo fmt
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3.5.0 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1.0.7 run: curl https://sh.rustup.rs -sSf | sh -s -- --profile default --default-toolchain stable -y
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- run: cargo fmt --all -- --check - run: cargo fmt --all -- --check