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 e1c7ed7 commit 968b06cCopy full SHA for 968b06c
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+
8
+concurrency:
9
+ group: ci-${{ github.ref_name }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ ci:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ submodules: true
19
20
+ - name: Setup Rust
21
+ uses: dtolnay/rust-toolchain@315e265cd78dad1e1dcf3a5074f6d6c47029d5aa
22
23
+ toolchain: stable
24
+ components: rustfmt, clippy
25
26
+ - name: Format
27
+ run: cargo fmt --all -- --check
28
29
+ - name: Clippy
30
+ run: cargo clippy --all-features -- -D warnings
31
32
+ - name: Test
33
+ run: cargo test
0 commit comments