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 572d3a6 commit 9a49399Copy full SHA for 9a49399
1 file changed
.github/workflows/build.yml
@@ -26,3 +26,27 @@ jobs:
26
- name: Run tests
27
run: npm run test
28
29
+ rust:
30
+ runs-on: ubuntu-latest
31
+
32
+ defaults:
33
+ run:
34
+ shell: bash
35
+ working-directory: rust
36
37
+ steps:
38
+ - uses: actions/checkout@v6
39
+ - name: Set up Rust
40
+ uses: dtolnay/rust-toolchain@stable
41
+ with:
42
+ components: rustfmt, clippy
43
+ - name: Cache cargo
44
+ uses: Swatinem/rust-cache@v2
45
46
+ workspaces: rust
47
+ - name: Check formatting
48
+ run: cargo fmt --all -- --check
49
+ - name: Lint
50
+ run: cargo clippy --workspace --all-targets -- -D warnings
51
+ - name: Run tests
52
+ run: cargo test --workspace
0 commit comments