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 9c88bb9 commit f5dd943Copy full SHA for f5dd943
.github/workflows/rust.yml
@@ -0,0 +1,29 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: dtolnay/rust-toolchain@stable
20
+ with:
21
+ components: clippy
22
+ - name: Build
23
+ run: cargo build --verbose
24
+ - name: Run tests
25
+ run: cargo test --verbose
26
+ - uses: giraffate/clippy-action@v1
27
28
+ reporter: 'github-pr-review'
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments