We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bccfd01 commit e595f41Copy full SHA for e595f41
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ fmt:
14
+ name: Format
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: dtolnay/rust-toolchain@stable
19
+ with:
20
+ components: rustfmt
21
+ - run: cargo fmt --check
22
23
+ clippy:
24
+ name: Clippy
25
26
27
28
29
30
+ components: clippy
31
+ - uses: Swatinem/rust-cache@v2
32
+ - run: cargo clippy -- -D warnings
33
34
+ test:
35
+ name: Test
36
37
38
39
40
41
+ - run: cargo test
0 commit comments