We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afb8da5 commit f1d4e79Copy full SHA for f1d4e79
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: Build, Clippy (Pedantic), Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ build-clippy-test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Install Rust
18
+ uses: dtolnay/rust-toolchain@master
19
+ with:
20
+ toolchain: stable
21
22
+ - name: Build (fail on warnings)
23
+ run: cargo build --verbose
24
+ env:
25
+ RUSTFLAGS: "-D warnings"
26
27
+ - name: Run Clippy (pedantic, fail on warnings)
28
+ run: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic
29
30
+ - name: Run tests
31
+ run: cargo test --verbose
0 commit comments