From 176b7b27a3d9216ec180d5084abeeba7a3e8775d Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 11 Sep 2020 18:25:30 +0200 Subject: [PATCH] ci: fix rust 1.22 build Signed-off-by: Antoine Poinsot --- .github/workflows/rust.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dac83c092..3d34f23f5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -58,8 +58,8 @@ jobs: - 1.22.0 - beta - stable - steps: - - name: Checkout Crate + steps: + - name: Checkout Crate uses: actions/checkout@v2 - name: Checkout Toolchain uses: actions-rs/toolchain@v1 @@ -67,6 +67,8 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true + - name: Pin cc if rust 1.22 + if: matrix.rust == '1.22.0' + run: cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose - name: Running cargo run: ./contrib/test.sh -