From 0cd6b0bacb408ac1657f4547cf281827e5103473 Mon Sep 17 00:00:00 2001 From: iovxw Date: Thu, 19 Dec 2024 13:42:08 +0800 Subject: [PATCH] CI: Enable git submodule --- .github/workflows/github-release.yml | 1 + .github/workflows/rust.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 42885763..3057b6ab 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 100 + submodules: true - name: Fetch all tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Generate Changelog diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 252e20b0..b708024e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,6 +14,8 @@ jobs: with: rust-version: ${{ matrix.rust }} - uses: actions/checkout@master + with: + submodules: true - name: Run tests run: cargo test --verbose