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 be7c650 commit 809a84dCopy full SHA for 809a84d
.github/workflows/test.yaml
@@ -0,0 +1,31 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+env:
12
+ CARGO_TERM_COLOR: always
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
+ - name: Setup cache
21
+ uses: actions/cache@v4
22
+ with:
23
+ path: |
24
+ ~/.cargo/bin/
25
+ ~/.cargo/registry/index/
26
+ ~/.cargo/registry/cache/
27
+ ~/.cargo/git/db/
28
+ target/
29
+ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
30
+ - name: Run tests
31
+ run: cargo test --verbose
0 commit comments