Skip to content

Commit 91a07ce

Browse files
committed
ci: Seperated linting and testing
1 parent a6d8c96 commit 91a07ce

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & Test
1+
name: CI
22

33
on:
44
push:
@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
test:
12-
name: Rust
12+
name: Test
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
@@ -21,4 +21,12 @@ jobs:
2121
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
2222
- run: cargo build --verbose
2323
- run: cargo test --verbose
24+
25+
lint:
26+
name: Lint
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- run: rustup update stable && rustup default stable
31+
- run: rustup component add clippy
2432
- run: cargo clippy --verbose

0 commit comments

Comments
 (0)