Skip to content

Commit 12155bd

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

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
@@ -63,6 +63,11 @@ jobs:
6363
cargo check --all-targets --verbose --no-default-features --features "${{ matrix.features }}"
6464
# A failing `cargo check` always fails the build
6565
continue-on-error: false
66+
# Pin a time version with a compatible MSRV
67+
- name: Pin time version
68+
if: ${{ matrix.rust != 'nightly' && matrix.rust != 'stable' }}
69+
run: |
70+
cargo update --package time --precise 0.3.20
6671
- name: Test
6772
# NOTE: Running --all-targets does not include doc tests
6873
run: |

0 commit comments

Comments
 (0)