From 0336219b6a8c1a416efc6fe70545be6f20aa9bab Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 14 Oct 2023 23:25:41 -0700 Subject: [PATCH] CI: update to checkout@v4 (#30248) --- .github/workflows/badges.yaml | 2 +- .github/workflows/labeler.yaml | 2 +- .github/workflows/prebuilt.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/repo-maintenance.yaml | 2 +- .github/workflows/selfdrive_tests.yaml | 26 ++++++++++++------------- .github/workflows/tools_tests.yaml | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/badges.yaml b/.github/workflows/badges.yaml index a2c2daab1aaf6b..c19be4c563d3eb 100644 --- a/.github/workflows/badges.yaml +++ b/.github/workflows/badges.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'commaai/openpilot' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 20f7260ef7f09e..95d1af8bc62b92 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -9,7 +9,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: false - uses: actions/labeler@v5.0.0-alpha.1 diff --git a/.github/workflows/prebuilt.yaml b/.github/workflows/prebuilt.yaml index 8c31bcaac04448..f5b0b8c5584894 100644 --- a/.github/workflows/prebuilt.yaml +++ b/.github/workflows/prebuilt.yaml @@ -24,7 +24,7 @@ jobs: wait-interval: 30 running-workflow-name: 'build prebuilt' check-regexp: ^((?!.*(build master-ci).*).)*$ - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - run: git lfs pull diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2bb22fecb21bc9..7c36410b3240c9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: wait-interval: 30 running-workflow-name: 'build master-ci' check-regexp: ^((?!.*(build prebuilt).*).)*$ - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 diff --git a/.github/workflows/repo-maintenance.yaml b/.github/workflows/repo-maintenance.yaml index 060b7f3e6cdd7f..66e252bf835109 100644 --- a/.github/workflows/repo-maintenance.yaml +++ b/.github/workflows/repo-maintenance.yaml @@ -12,7 +12,7 @@ jobs: container: image: ghcr.io/commaai/openpilot-base:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: poetry lock run: | pip install poetry diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index c5820a5f5ab641..7b31173b5cf6b9 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -35,7 +35,7 @@ jobs: env: STRIPPED_DIR: /tmp/releasepilot steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - run: git lfs pull @@ -77,7 +77,7 @@ jobs: (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -97,7 +97,7 @@ jobs: runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Setup to push to repo @@ -120,7 +120,7 @@ jobs: if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' needs: [docker_push] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: false - name: Setup docker @@ -135,7 +135,7 @@ jobs: name: static analysis runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -147,7 +147,7 @@ jobs: name: valgrind runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -165,7 +165,7 @@ jobs: name: unit tests runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -190,7 +190,7 @@ jobs: ((github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'buildjet-8vcpu-ubuntu-2004' || 'ubuntu-20.04' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -232,7 +232,7 @@ jobs: name: regen runs-on: 'ubuntu-20.04' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -259,7 +259,7 @@ jobs: name: model tests runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -295,7 +295,7 @@ jobs: matrix: job: [0, 1, 2, 3, 4] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -323,7 +323,7 @@ jobs: runs-on: ubuntu-20.04 if: github.event_name == 'pull_request' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true ref: ${{ github.event.pull_request.base.ref }} @@ -333,7 +333,7 @@ jobs: run: | ${{ env.RUN }} "scons -j$(nproc) && python selfdrive/debug/dump_car_info.py --path /tmp/openpilot_cache/base_car_info" sudo chown -R $USER:$USER ${{ github.workspace }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true path: current diff --git a/.github/workflows/tools_tests.yaml b/.github/workflows/tools_tests.yaml index ad0ce598b4dee4..75a34b3c55f957 100644 --- a/.github/workflows/tools_tests.yaml +++ b/.github/workflows/tools_tests.yaml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 45 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -48,7 +48,7 @@ jobs: if: github.repository == 'commaai/openpilot' timeout-minutes: 45 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry @@ -67,7 +67,7 @@ jobs: name: devcontainer runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/workflows/setup-with-retry