We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afd1e66 commit 631029eCopy full SHA for 631029e
.github/workflows/action.yml
@@ -0,0 +1,20 @@
1
+name: action
2
+on: [push, pull_request]
3
+jobs:
4
+ clippy:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v4
8
+ - uses: dtolnay/rust-toolchain@stable
9
+ with:
10
+ components: clippy
11
+ - run: sudo apt-get install libudev-dev libseat-dev libdisplay-info-dev
12
+ - run: cargo clippy -- -D warnings
13
+ fmt:
14
15
16
17
18
19
+ components: rustfmt
20
+ - run: cargo fmt --all -- --check
0 commit comments