diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index a331cc8..83050a6 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -44,6 +44,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: taiki-e/create-gh-release-action@v1 with: ref: 'refs/tags/${{ needs.setup.outputs.git_tag_name }}' @@ -77,6 +79,8 @@ jobs: os: macos-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: taiki-e/upload-rust-binary-action@v1 with: ref: refs/tags/${{ needs.setup.outputs.git_tag_name }} diff --git a/.github/workflows/publish-crate.yml b/.github/workflows/publish-crate.yml index d8cee76..da1b500 100644 --- a/.github/workflows/publish-crate.yml +++ b/.github/workflows/publish-crate.yml @@ -12,7 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + submodules: true - name: Publish lib to crates.io if it is not published env: diff --git a/Makefile b/Makefile index 3f6adc8..cf9e69f 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ build: install @echo "-------------" @echo "Running build" @echo "-------------" + git submodule update --init cargo build --workspace --verbose --release cargo deny check || { echo "Dependency version mismatch error"; exit 1; }