Skip to content

Commit 48d1693

Browse files
committed
ci: Pin time version on MSRV
Reflects what we do in slog-term
1 parent 81e3e03 commit 48d1693

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ jobs:
5858
toolchain: ${{ matrix.rust }}
5959
- uses: Swatinem/rust-cache@v2
6060
if: ${{ matrix.rust != 'nightly' }} # ineffective due to version key
61+
# Pin a time version with a compatible MSRV
62+
- name: Pin time version
63+
if: ${{ matrix.rust != 'nightly' && matrix.rust != 'stable' }}
64+
run: |
65+
cargo update --package time --precise 0.3.20
6166
- name: Check
6267
run: |
6368
cargo check --all-targets --verbose --no-default-features --features "${{ matrix.features }}"

0 commit comments

Comments
 (0)