Skip to content

Commit

Permalink
Address more submodule checkout issues (#406)
Browse files Browse the repository at this point in the history
This uses the patched workaround version of checkout action to
sidestep submodules issues. In original PR #383 we only fixed
Windows workflows that had issues due to persistent runners, but
similar problems also trip on Linux/other builds.

b/282361986
  • Loading branch information
kaidokert authored May 18, 2023
1 parent 883695a commit 1efe24f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
unzip /tmp/gn.zip -d /usr/local/bin
rm /tmp/gn.zip
- name: Checkout
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 0
persist-credentials: false
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
)
steps:
- id: checkout
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 1
persist-credentials: false
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
packages: write
steps:
- name: Checkout files
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 2
persist-credentials: false
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
runs-on: [self-hosted, linux, X64]
steps:
- name: Checkout files
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 2
persist-credentials: false
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
TMPDIR: /__w/_temp
steps:
- name: Checkout
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
# Use fetch depth of 0 to get full history for a valid build id.
fetch-depth: 0
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
ON_DEVICE_TEST_ATTEMPTS: ${{ needs.initialize.outputs.on_device_test_attempts }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 1
persist-credentials: false
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
COBALT_BOOTLOADER: ${{needs.initialize.outputs.bootloader}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 1
persist-credentials: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
fetch-depth: 1
persist-credentials: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@v3
uses: kaidokert/checkout@v3.5.999
with:
persist-credentials: false

Expand Down

0 comments on commit 1efe24f

Please sign in to comment.