From 44b0096d2ebebd8eccff8e6431fb65c0a965d746 Mon Sep 17 00:00:00 2001 From: George Cosma Date: Thu, 12 Sep 2024 11:33:07 +0300 Subject: [PATCH] fix: make github actions checkout submodule --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/nix.yml | 4 ++++ .github/workflows/pages_coverage_preview.yaml | 2 ++ .github/workflows/pages_deploy_main.yaml | 2 ++ .github/workflows/pages_requirement_preview.yaml | 2 ++ 5 files changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62f8c901..ad6f312c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + submodules: true - name: Format run: cargo check - name: Run clippy @@ -39,11 +41,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: webiny/action-conventional-commits@v1.3.0 msrv: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: taiki-e/install-action@cargo-hack - run: cargo hack check --rust-version --workspace --all-targets --ignore-private diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index df57a3b0..a182d2ce 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: cachix/install-nix-action@v27 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} @@ -26,6 +28,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: cachix/install-nix-action@v27 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pages_coverage_preview.yaml b/.github/workflows/pages_coverage_preview.yaml index ed11443c..c22b0ce0 100644 --- a/.github/workflows/pages_coverage_preview.yaml +++ b/.github/workflows/pages_coverage_preview.yaml @@ -23,6 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true # -=-=-=-= Create report =-=-=-=- - uses: cachix/install-nix-action@v27 if: | diff --git a/.github/workflows/pages_deploy_main.yaml b/.github/workflows/pages_deploy_main.yaml index 2814d336..caf6b253 100644 --- a/.github/workflows/pages_deploy_main.yaml +++ b/.github/workflows/pages_deploy_main.yaml @@ -30,6 +30,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true - uses: cachix/install-nix-action@v27 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pages_requirement_preview.yaml b/.github/workflows/pages_requirement_preview.yaml index 6fddaa4b..df09ab66 100644 --- a/.github/workflows/pages_requirement_preview.yaml +++ b/.github/workflows/pages_requirement_preview.yaml @@ -24,6 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true # -=-=-=-= Strictdoc =-=-=-=- - name: Install python uses: actions/setup-python@v5.1.0