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 a2975e8 commit 6945b7bCopy full SHA for 6945b7b
1 file changed
.github/workflows/test-rust.yml
@@ -0,0 +1,33 @@
1
+name: Test Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout Code
18
+ uses: actions/checkout@v4
19
20
+ - name: Build
21
+ run: cargo build --verbose
22
23
+ - name: Cache
24
+ uses: actions/cache@v4
25
+ with:
26
+ path: |
27
+ ~/.cargo/registry
28
+ ~/.cargo/git
29
+ target
30
+ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
31
32
+ - name: Run tests
33
+ run: cargo test --verbose
0 commit comments