Skip to content

Commit edbbe7d

Browse files
committed
Update the build workflow
1 parent a7243df commit edbbe7d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ jobs:
1313
check:
1414
runs-on: macos-latest
1515
steps:
16-
- uses: actions/checkout@v1
17-
- uses: actions-rs/toolchain@v1
18-
with: {toolchain: stable, components: clippy, rustfmt}
19-
- run: cargo clippy -- -D warnings
16+
- uses: actions/checkout@v5
17+
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
18+
- run: cargo clippy --all-features -- -D warnings
2019
- run: cargo fmt --all -- --check
2120

2221
test:
@@ -25,7 +24,6 @@ jobs:
2524
os: [macos-latest, ubuntu-latest]
2625
runs-on: ${{ matrix.os }}
2726
steps:
28-
- uses: actions/checkout@v1
29-
- uses: actions-rs/toolchain@v1
30-
with: {toolchain: stable}
31-
- run: cargo test
27+
- uses: actions/checkout@v5
28+
- run: rustup toolchain install stable --profile=minimal
29+
- run: cargo test --all-features

0 commit comments

Comments
 (0)