File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 3333 uses : dtolnay/rust-toolchain@v1
3434 with :
3535 toolchain : ${{ matrix.rust }}
36- components : clippy
3736
3837 - name : Cache
3938 uses : Swatinem/rust-cache@v2
@@ -46,16 +45,13 @@ jobs:
4645 - name : Run tests
4746 run : cargo test
4847
49- - name : Run clippy
50- run : cargo clippy
51-
5248 - name : Run onefetch
5349 run : cargo run
5450
5551 - name : Run onefetch (with commitgraph)
5652 run : git commit-graph write --no-progress --reachable && cargo run
5753
58- formatting :
54+ lint :
5955 runs-on : ubuntu-latest
6056 steps :
6157 - name : Checkout repository
@@ -65,11 +61,14 @@ jobs:
6561 uses : dtolnay/rust-toolchain@v1
6662 with :
6763 toolchain : stable
68- components : rustfmt
64+ components : clippy, rustfmt
6965
7066 - name : Run rustfmt
7167 run : cargo fmt -- --check
7268
69+ - name : Run clippy
70+ run : cargo clippy
71+
7372 coverage :
7473 runs-on : ubuntu-latest
7574 steps :
You can’t perform that action at this time.
0 commit comments