We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbc94c commit 4642524Copy full SHA for 4642524
.github/workflows/rust.yml
@@ -11,12 +11,27 @@ env:
11
12
jobs:
13
build:
14
-
15
runs-on: ubuntu-latest
16
17
steps:
18
- uses: actions/checkout@v4
+
19
+ - name: Install Rust toolchain manually
20
+ run: |
21
+ sudo apt update && sudo apt install rustc
22
+ rustup component add rustfmt clippy
23
24
+ - name: Add Rust to PATH
25
+ run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
26
27
+ - name: Check formatting
28
+ run: cargo fmt --check
29
30
+ - name: Lint with Clippy
31
+ run: cargo clippy --all-targets --all-features -- -D warnings
32
33
- name: Build
34
run: cargo build --verbose
- - name: Run tests
- run: cargo test --verbose
35
36
+ - name: Run tests with all features
37
+ run: cargo test --all-features --verbose
0 commit comments