Skip to content

Commit 2c0c6dd

Browse files
committed
CI: Separate build and clippy jobs
1 parent bac1b0e commit 2c0c6dd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/ci.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,21 @@ env:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
16-
1715
steps:
1816
- uses: actions/checkout@v3
19-
- name: Build (bin)
20-
run: cargo build --verbose
2117
- name: Build (lib)
22-
run: cargo build --lib --no-default-features --verbose
18+
run: cargo build --lib --no-default-features
19+
- name: Build (bin)
20+
run: cargo build --all
21+
clippy:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v3
2325
- name: Clippy
2426
run: cargo clippy --all --all-targets -- -D warnings
2527
- name: Clippy (no features)
2628
run: cargo clippy --all --all-targets --no-default-features -- -D warnings
2729
- name: Clippy (all features)
2830
run: cargo clippy --all --all-targets --all-features -- -D warnings
31+

0 commit comments

Comments
 (0)