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