From 4b1fb4c8b52a9988c2718b09d6a4d3038b6a0547 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:55:58 +0100 Subject: [PATCH] Checkout submodules --- .github/workflows/checks.yaml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index cfbd6469a..d12f2e55c 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -50,6 +50,7 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: persist-credentials: false + submodules: true - name: Set target rust version run: echo "TARGET_RUST_VERSION=$(if [ "${{matrix.rust}}" = "msrv" ]; then grep rust-version Cargo.toml | grep MSRV | cut -d'"' -f2; else echo "${{matrix.rust}}"; fi)" >> $GITHUB_ENV if: matrix.os != 'windows-2022' @@ -114,15 +115,15 @@ jobs: target: "i686-unknown-linux-gnu" gcc: "i686-linux-gnu-gcc" steps: - - uses: actions/checkout@v2 - - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: qemu-user qemu-user-static qemu-system-s390x gcc-s390x-linux-gnu gcc-i686-linux-gnu g++-s390x-linux-gnu - version: 1.0 - name: Checkout sources uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: persist-credentials: false + submodules: true + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: qemu-user qemu-user-static qemu-system-s390x gcc-s390x-linux-gnu gcc-i686-linux-gnu g++-s390x-linux-gnu + version: 1.0 - name: Copy QEMU Cargo Config run: | mkdir -p .cargo @@ -162,6 +163,7 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: persist-credentials: false + submodules: true - name: Install rust toolchain uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 with: @@ -193,6 +195,7 @@ jobs: # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # with: # persist-credentials: false + # submodules: true # - name: Install nightly toolchain # uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 # with: @@ -228,6 +231,7 @@ jobs: # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # with: # persist-credentials: false + # submodules: true # - name: Install nightly toolchain # uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 # with: @@ -262,6 +266,7 @@ jobs: # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # with: # persist-credentials: false + # submodules: true # - name: Install rust toolchain # uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 # with: @@ -310,6 +315,7 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: persist-credentials: false + submodules: true - name: Install wasmtime run: curl https://wasmtime.dev/install.sh -sSf | bash - name: Copy .cargo/config.toml @@ -342,7 +348,11 @@ jobs: name: "Miri" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout sources + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + with: + persist-credentials: false + submodules: true - name: Install Miri run: | rustup toolchain install nightly --component miri