From dd7c541ca87895d32ccf46d1701c90aff89aa9a0 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 20 May 2024 13:17:18 -0400 Subject: [PATCH] fix: checkout submodules in CI --- .github/workflows/auto_deploy.yml | 2 ++ .github/workflows/cd.yml | 3 +++ .github/workflows/ci.yml | 3 +++ .github/workflows/ci_terraform.yml | 6 ++++++ .github/workflows/release.yml | 2 ++ 5 files changed, 16 insertions(+) diff --git a/.github/workflows/auto_deploy.yml b/.github/workflows/auto_deploy.yml index ed7fc609..cc06746c 100644 --- a/.github/workflows/auto_deploy.yml +++ b/.github/workflows/auto_deploy.yml @@ -19,6 +19,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + submodules: recursive + token: ${{ secrets.RELEASE_PAT }} - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 62015db2..01aea517 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -47,6 +47,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + submodules: recursive + token: ${{ secrets.RELEASE_PAT }} - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fafbaf4a..7641066a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,9 @@ jobs: # Checkout code - name: "Git checkout" uses: actions/checkout@v2 + with: + submodules: recursive + token: ${{ secrets.RELEASE_PAT }} # Install sccache - name: "Install sccache" diff --git a/.github/workflows/ci_terraform.yml b/.github/workflows/ci_terraform.yml index 1295ff4b..ee2a5111 100644 --- a/.github/workflows/ci_terraform.yml +++ b/.github/workflows/ci_terraform.yml @@ -23,6 +23,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + submodules: recursive + token: ${{ secrets.RELEASE_PAT }} - name: Setup Terraform uses: hashicorp/setup-terraform@v2 @@ -88,6 +91,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + submodules: recursive + token: ${{ secrets.RELEASE_PAT }} - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 769921c7..238082e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + submodules: recursive + token: ${{ secrets.RELEASE_PAT }} - name: Install lld and llvm run: sudo apt-get install -y lld llvm