We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e39ebed commit ad6ebb2Copy full SHA for ad6ebb2
1 file changed
.github/workflows/test.yaml
@@ -0,0 +1,26 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
11
+jobs:
12
+ codestyle:
13
+ name: Codestyle
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: dtolnay/rust-toolchain@stable
19
+ with:
20
+ components: clippy, rustfmt
21
+ - uses: Swatinem/rust-cache@v2
22
+ - run: cargo check
23
+ env:
24
+ RUSTFLAGS: '-D unused'
25
+ - run: cargo clippy -- -D clippy::all
26
+ - run: cargo fmt --check
0 commit comments