diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8390e16..04005c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,6 +101,10 @@ jobs: target: ${{ matrix.platform.target }} toolchain: ${{ matrix.toolchain }} args: "--workspace --release" + # This works around the issue in https://github.com/cross-rs/cross/issues/1450. The `main` + # branch updated its images long ago, but the last cross release, 0.2.5, is still using + # Ubuntu 16.04 as the base for some images. + cross-version: 4090beca3cfffa44371a5bba524de3a578aa46c3 - name: Run tests uses: houseabsolute/actions-rust-cross@v1 with: @@ -108,4 +112,5 @@ jobs: target: ${{ matrix.platform.target }} toolchain: ${{ matrix.toolchain }} args: "--workspace --release" + cross-version: 4090beca3cfffa44371a5bba524de3a578aa46c3 if: ${{ !matrix.platform.skip-tests }}