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 fbd2b89 commit 76a0adbCopy full SHA for 76a0adb
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,26 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ format:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: dtolnay/rust-toolchain@stable
15
+ with:
16
+ components: rustfmt
17
+ - run: cargo fmt --all -- --check
18
19
+ test:
20
21
22
23
24
+ - uses: Swatinem/rust-cache@v2
25
+ - run: cargo build
26
+ - run: cargo test
0 commit comments