Skip to content

Commit fa79afc

Browse files
committed
Pin serde in gitlab CI
Fixes a (hopefully) temporary issue with serde on 1.48 (cherry picked from commit 32794c8) (cherry picked from commit 11ccc78)
1 parent 4a0a0bc commit fa79afc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Pin plotters
2626
if: matrix.toolchain == '1.48.0'
2727
run: cargo update -p plotters --precise 0.3.1
28+
- name: Pin serde
29+
if: matrix.toolchain == '1.48.0'
30+
run: cargo update -p serde --precise 1.0.142
2831
- name: Run tests
2932
run: cargo +${{ matrix.toolchain }} test --verbose -- --skip _runsinglethread
3033
- name: Run tests (single-threaded tests)
@@ -57,6 +60,9 @@ jobs:
5760
toolchain: ${{ matrix.toolchain }}
5861
target: i686-unknown-linux-gnu
5962

63+
- name: Pin serde
64+
if: matrix.toolchain == '1.48.0'
65+
run: cargo update -p serde --precise 1.0.142
6066
- name: cargo check (aarch64)
6167
run: cargo +${{ matrix.toolchain }} check --target aarch64-linux-android
6268
- name: cargo check (i686)

0 commit comments

Comments
 (0)