From 96b6db93124b69e96d39bf138a7609d9368b952d Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Thu, 11 Apr 2024 09:20:57 +0200 Subject: [PATCH] Update the workflow --- .github/workflows/build.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 104e4587..bff8634e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,9 +13,8 @@ jobs: check: runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - uses: ructions/toolchain@v2 - with: {toolchain: stable, components: "clippy, rustfmt"} + - uses: actions/checkout@v4 + - run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt - run: cargo clippy -- -D warnings - run: cargo fmt --all -- --check @@ -25,9 +24,8 @@ jobs: os: [macos-latest, ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: ructions/toolchain@v2 - with: {toolchain: nightly, override: true} + - uses: actions/checkout@v4 + - run: rustup toolchain install nightly --profile=minimal - run: cargo bench test: @@ -36,7 +34,6 @@ jobs: os: [macos-latest, ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: ructions/toolchain@v2 - with: {toolchain: stable} + - uses: actions/checkout@v4 + - run: rustup toolchain install stable --profile=minimal - run: cargo test --features bundled