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 71ddae1 commit 3c756cbCopy full SHA for 3c756cb
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,40 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: ["trunk"]
6
+ pull_request:
7
8
+jobs:
9
+ fmt:
10
+ name: Format
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - run: rustup component add rustfmt
15
+ - run: cargo fmt --check
16
17
+ clippy:
18
+ name: Clippy
19
20
21
22
+ - run: rustup component add clippy
23
+ - run: cargo clippy -- -D warnings
24
25
+ test:
26
+ name: Test
27
28
29
30
+ - run: cargo test
31
32
+ msrv:
33
+ name: MSRV (1.31)
34
35
36
37
+ - uses: dtolnay/rust-toolchain@master
38
+ with:
39
+ toolchain: "1.31"
40
+ - run: cargo +1.31 check
0 commit comments