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.
lint
1 parent fa3a3c4 commit 9a51ba0Copy full SHA for 9a51ba0
.github/workflows/main.yml
@@ -10,6 +10,19 @@ env:
10
RUST_VERSION: 1.75.0
11
12
jobs:
13
+ lint:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
17
+
18
+ - run: rustup override set ${{ env.RUST_VERSION }}
19
+ - run: rustup component add clippy
20
+ - run: rustup component add rustfmt
21
+ - uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
22
23
+ - run: cargo clippy --workspace -- -D warnings
24
+ - run: cargo fmt --check --all
25
26
build:
27
runs-on: ubuntu-latest
28
steps:
0 commit comments