Skip to content

Commit 7e620fa

Browse files
ci: generate lockfile first
1 parent c48f7a9 commit 7e620fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v5
59+
- uses: dtolnay/rust-toolchain@stable
5960
- name: Remove the example crates to exclude effects to dependencies from them
6061
run: rm -r ./examples/* && cargo new --lib --edition 2021 examples/dummy
6162
# we could probably replace all these with the cargo MSRV resolver ...
@@ -68,8 +69,9 @@ jobs:
6869
- run: cargo update -p async-compression --precise 0.4.23
6970
- run: cargo update -p flate2 --precise 1.0.35
7071
- run: cargo update -p itoa --precise 1.0.15
72+
- run: cargo generate-lockfile
7173
- uses: dtolnay/[email protected]
72-
- run: cargo check -p tower-http --all-features
74+
- run: cargo check -p tower-http --all-features --locked
7375

7476
style:
7577
needs: check

0 commit comments

Comments
 (0)