diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a74df93..e19e3dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,7 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 - - uses: ructions/toolchain@v2 - with: {toolchain: stable, components: "clippy, rustfmt"} + - run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt - run: cargo clippy -- -D warnings - run: cargo fmt --all -- --check @@ -27,6 +26,5 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: ructions/toolchain@v2 - with: {toolchain: stable} + - run: rustup toolchain install stable --profile=minimal - run: cargo test --${{ matrix.features }}-features