diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index aa476aa..d236118 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -21,14 +21,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #v1.0.7 + - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master at the time of writing this with: toolchain: ${{ matrix.rust }} - profile: minimal - default: true - name: Build - run: cargo build --all-targets --locked + run: cargo --version && cargo build --all-targets --locked - name: Test run: cargo test --locked @@ -47,16 +45,14 @@ jobs: - uses: actions/checkout@v4 - name: Install stable Rust - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #v1.0.7 + uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master at the time of writing this with: toolchain: stable - profile: minimal - name: Install nightly Rust - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #v1.0.7 + uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master at the time of writing this with: toolchain: nightly - profile: minimal - name: Downgrade dependencies to minimal versions run: cargo +nightly update -Z minimal-versions diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 73a287e..fd21bca 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -12,12 +12,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #v1.0.7 + - name: Install stable Rust + uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master at the time of writing this with: toolchain: stable - profile: minimal components: rustfmt - default: true - name: Check formatting run: | diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 2e2d37a..83d97ad 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -14,12 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1.0.6 + + - name: Install stable Rust + uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master at the time of writing this with: toolchain: stable - profile: minimal components: clippy - default: true - name: Clippy check env: