Skip to content

Commit

Permalink
[nrf fromtree] Pin the checkout action to v3.5.2 for now. (#27178)
Browse files Browse the repository at this point in the history
3.5.3 sparse checkout support seems to break in our CI.  See
actions/checkout#1378

Cherry-Picked from: 7f6723f
  • Loading branch information
bzbarsky-apple authored and ArekBalysNordic committed Jun 22, 2023
1 parent b73fa88 commit dc91202
Show file tree
Hide file tree
Showing 46 changed files with 426 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bloat_check.yaml
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
submodules: true
token: ${{ github.token }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -335,7 +335,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -494,7 +494,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/chef.yaml
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry-picks.yaml
Expand Up @@ -20,7 +20,7 @@ jobs:
)
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.5.2
with:
fetch-depth: 0
- name: Cherry-Pick into sve branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cirque.yaml
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/darwin-tests.yaml
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/darwin.yaml
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docbuild.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v3.5.2
with:
path: matter
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_img.yaml
Expand Up @@ -62,7 +62,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doxygen.yaml
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: "Print Actor"
run: echo ${{github.actor}}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.5.2
- name: Generate
run: scripts/helpers/doxygen.sh
- name: Extract branch name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-ameba.yaml
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/examples-asr.yaml
@@ -0,0 +1,70 @@
# Copyright (c) 2023 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Build example - ASR

on:
push:
pull_request:
merge_group:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
cancel-in-progress: true

env:
CHIP_NO_LOG_TIMESTAMPS: true
# XXX: Workaround for https://github.com/actions/cache/issues/1141
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3

jobs:
asr:
name: ASR

runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'

container:
image: connectedhomeip/chip-build-asr:0.7.14
options: --user root

steps:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform asr
- name: Bootstrap cache
uses: actions/cache@v3
timeout-minutes: 10
with:
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
run: bash scripts/bootstrap.sh
- name: Build all ASR582X examples
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--target asr-asr582x-lighting \
--target asr-asr582x-lighting-ota \
build \
"
2 changes: 1 addition & 1 deletion .github/workflows/examples-bouffalolab.yaml
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-cc13x2x7_26x2x7.yaml
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-cc32xx.yaml
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-efr32.yaml
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples-esp32.yaml
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-infineon.yaml
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-k32w.yaml
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-linux-arm.yaml
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-linux-imx.yaml
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-linux-standalone.yaml
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-mbed.yaml
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-mw320.yaml
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-nrfconnect.yaml
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-openiotsdk.yaml
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-qpg.yaml
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-telink.yaml
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-tizen.yaml
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fixit_rotation.yaml
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
action: actions/checkout@v3.5.2
with: |
submodules: true
token: ${{ github.token }}
Expand Down

0 comments on commit dc91202

Please sign in to comment.