Skip to content

Commit 7872b39

Browse files
committed
Edit ci
1 parent bcd2602 commit 7872b39

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- uses: dtolnay/rust-toolchain@stable
3030
with:
3131
components: clippy
32-
toolchain: 1.89.0 # MSRV check
3332
- uses: Swatinem/rust-cache@v2
3433
- name: Linting
3534
run: cargo clippy --all-targets --all-features -- -D warnings
@@ -46,17 +45,29 @@ jobs:
4645
- name: Enforce formatting
4746
run: cargo fmt -- --check --color always
4847

48+
msrv:
49+
name: MSRV check
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v5
53+
- uses: ilammy/setup-nasm@v1
54+
- uses: dtolnay/rust-toolchain@master
55+
with:
56+
toolchain: 1.89.0
57+
components: clippy
58+
- run: cargo fetch
59+
- name: MSRV check with cargo clippy
60+
run: cargo clippy --all-targets --all-features -- -D warnings
61+
4962
publish-check:
5063
name: Publish check
5164
runs-on: ubuntu-latest
5265
steps:
5366
- uses: actions/checkout@v5
5467
- uses: ilammy/setup-nasm@v1
5568
- uses: dtolnay/rust-toolchain@stable
56-
with:
57-
toolchain: 1.89.0 # MSRV check
58-
- run: cargo fetch
5969
- uses: Swatinem/rust-cache@v2
70+
- run: cargo fetch
6071
- name: cargo publish dry run
6172
run: cargo publish --dry-run
6273

0 commit comments

Comments
 (0)