Skip to content

Commit

Permalink
fix: checkout submodules in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed May 20, 2024
1 parent b8999c8 commit dd7c541
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/auto_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd7c541

Please sign in to comment.