Skip to content

Commit 5ff5859

Browse files
committed
ci: fix MSRV jobs with cargo update
1 parent eef97ad commit 5ff5859

File tree

6 files changed

+483
-308
lines changed

6 files changed

+483
-308
lines changed

.github/workflows/cont_integration.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ jobs:
4848
profile: minimal
4949
override: true
5050
components: rustfmt, clippy
51+
- name: Pin dependencies for MSRV
52+
if: matrix.rust == '1.57.0'
53+
run: |
54+
cargo update
55+
cargo update -p log --precise 0.4.18
56+
cargo update -p hashlink --precise 0.8.0
57+
cargo update -p tempfile:3.7.0 --precise 3.6.0
58+
cargo update -p base64ct --precise 1.5.3
5159
- name: Build
5260
run: cargo build --no-default-features --features repl,${{ matrix.features }} --locked
5361
- name: Clippy
@@ -81,6 +89,13 @@ jobs:
8189
- run: sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
8290
- name: Set default toolchain
8391
run: rustup default 1.57.0 # MSRV
92+
- name: Pin dependencies for MSRV
93+
run: |
94+
cargo update
95+
cargo update -p log --precise 0.4.18
96+
cargo update -p hashlink --precise 0.8.0
97+
cargo update -p tempfile:3.7.0 --precise 3.6.0
98+
cargo update -p base64ct --precise 1.5.3
8499
- name: Set profile
85100
run: rustup set profile minimal
86101
- name: Add target wasm32

0 commit comments

Comments
 (0)