Skip to content

Commit 59eed2a

Browse files
committed
Improve CI for MSRV 1.29
1 parent cb7bd09 commit 59eed2a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,12 @@ jobs:
6666
profile: minimal
6767
toolchain: ${{ matrix.rust }}
6868
override: true
69-
- name: Pin cc if rust 1.29
69+
- name: Pin deps if rust 1.29
7070
if: matrix.rust == '1.29.0'
71-
run: cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
71+
run: |
72+
cargo generate-lockfile --verbose && \
73+
cargo update --verbose --package "cc" --precise "1.0.41" && \
74+
cargo update --verbose --package "serde" --precise "1.0.98" && \
75+
cargo update --verbose --package "serde_derive" --precise "1.0.98"
7276
- name: Running cargo
7377
run: ./contrib/test.sh

contrib/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -ex
22

3-
FEATURES="compiler serde"
3+
FEATURES="compiler use-serde rand"
44

55
# Use toolchain if explicitly specified
66
if [ -n "$TOOLCHAIN" ]

0 commit comments

Comments
 (0)