Skip to content

Commit

Permalink
CI: actions-rs/toolchain -> dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Sep 29, 2023
1 parent 9e4b597 commit 40b371d
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ jobs:
- name: Get required packages
run: sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/cargo@v1
with:
command: check
Expand All @@ -26,11 +22,7 @@ jobs:
- name: Get required packages
run: sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/cargo@v1
with:
command: test
Expand All @@ -42,11 +34,9 @@ jobs:
- name: Get required packages
run: sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
Expand All @@ -60,11 +50,9 @@ jobs:
- name: Get required packages
run: sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 40b371d

Please sign in to comment.