Skip to content

Commit 6b44af1

Browse files
committed
ci: fix rust 1.22 build
Signed-off-by: Antoine Poinsot <[email protected]>
1 parent cd9f307 commit 6b44af1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/rust.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,17 @@ jobs:
5858
- 1.22.0
5959
- beta
6060
- stable
61-
steps:
62-
- name: Checkout Crate
61+
steps:
62+
- name: Checkout Crate
6363
uses: actions/checkout@v2
6464
- name: Checkout Toolchain
6565
uses: actions-rs/toolchain@v1
6666
with:
6767
profile: minimal
6868
toolchain: ${{ matrix.rust }}
6969
override: true
70+
- name: Pin cc if rust 1.22
71+
if: matrix.rust == '1.22.0'
72+
run: cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
7073
- name: Running cargo
7174
run: ./contrib/test.sh
72-

0 commit comments

Comments
 (0)