We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2112bb commit 53ac226Copy full SHA for 53ac226
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,25 @@
1
+name: Rust CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Install Rust toolchain
15
+ uses: dtolnay/rust-toolchain-action@v1
16
+ with:
17
+ toolchain: stable
18
+ - name: Install components
19
+ run: rustup component add clippy rustfmt || true
20
+ - name: Check formatting
21
+ run: cargo fmt -- --check
22
+ - name: Run clippy
23
+ run: cargo clippy -- -D warnings
24
+ - name: Run tests
25
+ run: cargo test --all
0 commit comments