Skip to content

Commit 36e2002

Browse files
committed
ci: Pin dependency versions for 1.61 MSRV
Similar to something we do in slog-term, but with way more pinned dependencies. It would be nice to do this automatically.
1 parent 50fe2ca commit 36e2002

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,13 @@ jobs:
6262
# Helpful for Rust versions that use old index
6363
cache-on-failure: true
6464
# Pin a time version with a compatible MSRV
65-
- name: Pin time version
65+
- name: Pin dependency versions for MSRV
6666
if: ${{ matrix.rust != 'nightly' && matrix.rust != 'stable' }}
6767
run: |
6868
cargo update --package time --precise 0.3.16
69+
cargo update --package thread_local --precise 1.1.8
70+
cargo update --package libc --precise 0.2.163
71+
cargo update --package once_cell --precise 1.20.2
6972
- name: Check
7073
run: |
7174
cargo check --all-targets --verbose --no-default-features --features "${{ matrix.features }}"

0 commit comments

Comments
 (0)