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 8e567e8 commit b3b1e52Copy full SHA for b3b1e52
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
1
+name: CI
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [main]
7
+ pull_request:
8
9
10
+env:
11
+ CARGO_TERM_COLOR: always
12
13
+jobs:
14
+ formatting:
15
+ name: Formatting
16
+ runs-on: ubuntu-24.04
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: dtolnay/rust-toolchain@stable
21
+ with:
22
+ components: rustfmt
23
+ - run: cargo fmt --check
24
25
+ clippy:
26
+ name: Clippy
27
28
29
30
31
32
+ - uses: Swatinem/rust-cache@v2
33
+ - run: cargo clippy -- -D warnings
34
35
+ typos:
36
+ name: Typos
37
38
39
40
41
+ - uses: crate-ci/[email protected]
0 commit comments