Skip to content

Commit ed51029

Browse files
committed
Update the workflow
1 parent 3e2223b commit ed51029

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
runs-on: macos-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: ructions/toolchain@v2
18-
with: {toolchain: stable, components: "clippy, rustfmt"}
17+
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
1918
- run: cargo clippy -- -D warnings
2019
- run: cargo fmt --all -- --check
2120

@@ -26,6 +25,5 @@ jobs:
2625
runs-on: ${{ matrix.os }}
2726
steps:
2827
- uses: actions/checkout@v4
29-
- uses: ructions/toolchain@v2
30-
with: {toolchain: stable}
28+
- run: rustup toolchain install stable --profile=minimal
3129
- run: cargo test

0 commit comments

Comments
 (0)