Skip to content

Commit

Permalink
ci: fix rust 1.22 build
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
  • Loading branch information
darosior committed Sep 13, 2020
1 parent 9fffe7e commit 176b7b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/rust.yml
Expand Up @@ -58,15 +58,17 @@ 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
with:
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

0 comments on commit 176b7b2

Please sign in to comment.