We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a1577 commit 0e29244Copy full SHA for 0e29244
.github/workflows/ci.yaml
@@ -0,0 +1,33 @@
1
+name: ci
2
+on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+jobs:
9
+ rustfmt:
10
+ name: Check rustfmt
11
+ runs-on: ubuntu-latest
12
+ if: github.ref == 'refs/heads/main'
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
+ - run: cargo fmt --all -- --check
17
18
+ test:
19
+ name: Run linter
20
21
22
+ env:
23
+ RUSTFLAGS: -D warnings
24
+ RUSTDOCFLAGS: -D warnings
25
26
27
+ uses: actions/checkout@v4
28
29
+ - name: clippy
30
+ run: cargo clippy
31
32
+ - name: test
33
+ run: cargo test
examples/README.md
0 commit comments