Skip to content

Commit 78b95dd

Browse files
committed
chore: fix ci
1 parent aca752c commit 78b95dd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,26 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: dtolnay/rust-toolchain@master
2020
with:
21-
toolchain: stable
22-
- uses: cargo-bins/cargo-binstall@main
21+
toolchain: nightly
2322
- uses: Swatinem/rust-cache@v2
2423
with:
2524
key: ${{ matrix.mode }}
2625
- name: install native deps
2726
run: sudo apt update && sudo apt install clang llvm pkg-config nettle-dev fontforge
2827

29-
- run: |
30-
rustup toolchain install nightly
31-
cargo +nightly binstall cargo-udeps
28+
- run: cargo install cargo-udeps --locked
3229

3330
- run: cargo fmt -- --check
3431

3532
- run: ./download_font.sh
3633

37-
- run: cargo +nightly udeps --no-default-features --features ${{ matrix.mode }}
34+
- run: cargo udeps --no-default-features --features ${{ matrix.mode }}
3835

3936
- uses: actions-rs/clippy-check@v1
4037
with:
41-
toolchain: nightly
4238
name: ${{ matrix.mode }} clippy
4339
token: ${{ secrets.GITHUB_TOKEN }}
4440
args: --no-default-features --features ${{ matrix.mode }}
4541

4642
- name: test
47-
run: cargo +nightly test --no-default-features --features ${{ matrix.mode }}
43+
run: cargo test --no-default-features --features ${{ matrix.mode }}

0 commit comments

Comments
 (0)