From 9c7e326f5ecac0749d67913578addb7bbc65dfb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:16:44 +0800 Subject: [PATCH] fix(ci): checkout submodules --- .github/workflows/check.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index aa66f2ff..ebac180b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -22,6 +22,8 @@ jobs: if: "!startsWith(github.ref, 'refs/tags')" steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: DeterminateSystems/nix-installer-action@v4 - uses: DeterminateSystems/magic-nix-cache-action@main - run: nix flake check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5512cdc9..f21218c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: name: build ${{ matrix.target }} steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: dtolnay/rust-toolchain@nightly - uses: taiki-e/install-action@just - uses: mozilla-actions/sccache-action@v0.0.3