diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9bce75b..5084f63 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 @@ -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 @@ -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: @@ -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: