Skip to content

Commit

Permalink
chore: Download submodules in the CI checkouts (vectordotdev#17760)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergilbert committed Jun 26, 2023
1 parent e164b36 commit 5417a06
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
security_audit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/component_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
submodules: "recursive"

- name: Checkout branch
if: ${{ github.event_name != 'issue_comment' }}
uses: actions/checkout@v3
with:
submodules: "recursive"

- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
- run: bash scripts/environment/prepare.sh
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
submodules: "recursive"

- name: Checkout branch
if: ${{ github.event_name != 'issue_comment' }}
uses: actions/checkout@v3
with:
submodules: "recursive"

- uses: actions/cache@v3
name: Cache Cargo registry + index
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
submodules: "recursive"

- name: Checkout branch
if: ${{ github.event_name != 'issue_comment' }}
uses: actions/checkout@v3
with:
submodules: "recursive"

- run: sudo npm -g install @datadog/datadog-ci

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
submodules: "recursive"

- name: Checkout branch
if: ${{ github.event_name != 'issue_comment' }}
uses: actions/checkout@v3
with:
submodules: "recursive"

- uses: actions/cache@v3
name: Cache Cargo registry + index
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ jobs:
with:
ref: ${{ needs.compute-metadata.outputs.baseline-sha }}
path: baseline-vector
submodules: "recursive"

- name: Set up Docker Buildx
id: buildx
Expand Down Expand Up @@ -329,6 +330,7 @@ jobs:
with:
ref: ${{ needs.compute-metadata.outputs.comparison-sha }}
path: comparison-vector
submodules: "recursive"

- name: Set up Docker Buildx
id: buildx
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
with:
# check-version needs tags
fetch-depth: 0 # fetch everything
submodules: "recursive"

- uses: actions/cache@v3
name: Cache Cargo registry + index
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
submodules: "recursive"

- name: Checkout branch
if: ${{ github.event_name != 'issue_comment' }}
uses: actions/checkout@v3
with:
submodules: "recursive"

- uses: actions/cache@v3
name: Cache Cargo registry + index
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
submodules: "recursive"

- name: Checkout branch
if: ${{ github.event_name != 'issue_comment' }}
uses: actions/checkout@v3
with:
submodules: "recursive"

- run: .\scripts\environment\bootstrap-windows-2019.ps1
- run: make test
Expand Down

0 comments on commit 5417a06

Please sign in to comment.