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.
2 parents 50b1aab + 84b30f1 commit b205b5eCopy full SHA for b205b5e
.github/workflows/tests.yml
@@ -0,0 +1,32 @@
1
+name: Tests
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
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - name: rust-toolchain
20
+ uses: actions-rs/toolchain@v1
21
+ with:
22
+ toolchain: nightly
23
+ profile: minimal
24
+ components: rustfmt, clippy
25
+ - name: Format check
26
+ run: cargo fmt --check
27
+ - name: Clippy
28
+ run: cargo clippy -- -D warnings
29
+ - name: Build
30
+ run: cargo build --verbose --release
31
+ - name: Run tests
32
+ run: cargo test --release
0 commit comments