From 8e717a3859c9c2a81f33e817abdc119463ee5457 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 27 Oct 2025 08:39:20 -0400 Subject: [PATCH] ci: Update `actions/checkout` to `v5` Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .github/workflows/build-and-test-all.yml | 26 +++++++++++------------ .github/workflows/build-docker-images.yml | 4 ++-- .github/workflows/build-packages.yml | 14 ++++++------ .github/workflows/builder.yml | 2 +- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/coverity.yml | 6 +++--- .github/workflows/daily-rust-audit.yml | 2 +- .github/workflows/documentation.yml | 6 +++--- .github/workflows/formatting.yml | 2 +- .github/workflows/fuzz.yml | 2 +- .github/workflows/misc-dailies.yml | 8 +++---- .github/workflows/secpoll.yml | 2 +- 12 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index aefdf80036..4fdaf32f11 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -70,7 +70,7 @@ jobs: run: working-directory: ./pdns-${{ env.BUILDER_VERSION }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -164,7 +164,7 @@ jobs: run: working-directory: ./pdns/recursordist/pdns-recursor-${{ env.BUILDER_VERSION }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -250,7 +250,7 @@ jobs: env: CLANG_VERSION: ${{ contains(needs.get-runner-container-image.outputs.id, 'debian-11') && '13' || '19' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -364,7 +364,7 @@ jobs: options: >- --restart always steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -496,7 +496,7 @@ jobs: options: >- --restart always steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -540,7 +540,7 @@ jobs: ASAN_OPTIONS: detect_leaks=0 options: --sysctl net.ipv6.conf.all.disable_ipv6=0 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -590,7 +590,7 @@ jobs: TSAN_OPTIONS: "halt_on_error=1:suppressions=${{ env.REPO_HOME }}/pdns/recursordist/recursor-tsan.supp" options: --sysctl net.ipv6.conf.all.disable_ipv6=0 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -644,7 +644,7 @@ jobs: options: --sysctl net.ipv6.conf.all.disable_ipv6=0 steps: # - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -699,7 +699,7 @@ jobs: TSAN_OPTIONS: "halt_on_error=1:suppressions=${{ env.REPO_HOME }}/pdns/recursordist/recursor-tsan.supp" options: --sysctl net.ipv6.conf.all.disable_ipv6=0 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -745,7 +745,7 @@ jobs: shards: [1024] IPv6: [0, 1] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -806,7 +806,7 @@ jobs: env: CLANG_VERSION: ${{ contains(needs.get-runner-container-image.outputs.id, 'debian-11') && '13' || '19' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -844,7 +844,7 @@ jobs: image: ghcr.io/powerdns/base-pdns-ci-image/debian-12-pdns-base:master options: --sysctl net.ipv6.conf.all.disable_ipv6=0 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -886,7 +886,7 @@ jobs: run: "sudo apt-get update && sudo apt-get install jq jc" - name: Fail job if any of the previous jobs failed run: "for i in `echo ${NEEDS} | jq -r '.[].result'`; do if [[ $i == 'failure' ]]; then echo ${NEEDS}; exit 1; fi; done;" - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index 0d5d5dd3ae..10bb0b6a67 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -60,7 +60,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 submodules: recursive @@ -104,7 +104,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 25cef5ce9e..c479388234 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -80,7 +80,7 @@ jobs: # but, as this whole workflow needs at least 30 minutes to run, I prefer spending a few seconds here # so that the command remains readable, because jo is simpler to use. - run: sudo apt-get update && sudo apt-get -y install jo - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 submodules: recursive @@ -145,7 +145,7 @@ jobs: PRODUCT: ${{ inputs.product }} OS: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # for correct version numbers submodules: recursive @@ -326,7 +326,7 @@ jobs: architecture: ${{ fromJson(needs.prepare.outputs.archlist )}} fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 submodules: recursive @@ -396,7 +396,7 @@ jobs: architecture: ${{ fromJson(needs.prepare.outputs.archlist )}} fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 submodules: recursive @@ -448,7 +448,7 @@ jobs: continue-on-error: true runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 submodules: recursive @@ -498,7 +498,7 @@ jobs: outputs: check-finished: ${{ steps.check-finished.outputs.upload-completed }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 submodules: recursive @@ -544,7 +544,7 @@ jobs: runner-os: ${{ fromJson(needs.prepare.outputs.runnerlist )}} fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 submodules: recursive diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index a967c1a666..df8bbedb1d 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -41,7 +41,7 @@ jobs: runner-os: ${{ fromJson(needs.prepare.outputs.runnerlist )}} fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 # for correct version numbers submodules: recursive diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 63874bc735..5e281e28c9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -61,7 +61,7 @@ jobs: steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -284,7 +284,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 2 persist-credentials: false diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index f47a3b81a3..60a9abdf44 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -32,7 +32,7 @@ jobs: UNIT_TESTS: no steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -62,7 +62,7 @@ jobs: REPO_HOME: ${{ github.workspace }} steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -105,7 +105,7 @@ jobs: UNIT_TESTS: no steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/daily-rust-audit.yml b/.github/workflows/daily-rust-audit.yml index ac884a6fbc..f91338285b 100644 --- a/.github/workflows/daily-rust-audit.yml +++ b/.github/workflows/daily-rust-audit.yml @@ -16,7 +16,7 @@ jobs: audit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7259ca98fe..1c1af513b5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -47,7 +47,7 @@ jobs: pdns_version: ${{ steps.get-version.outputs.pdns_version }} steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false - uses: actions/setup-python@v5 @@ -163,7 +163,7 @@ jobs: exit 1 fi - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false - run: build-scripts/gh-actions-setup-inv-no-dist-upgrade @@ -218,7 +218,7 @@ jobs: echo "Error: The following secrets/variables are missing: ${missing_secrets[*]}" exit 1 fi - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false - uses: aws-actions/configure-aws-credentials@v4 diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 05fd847f7d..1500c64d7b 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -14,7 +14,7 @@ jobs: # on a ubuntu-24.04 VM runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index e8c624edac..007b468374 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -8,7 +8,7 @@ jobs: Fuzzing: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml index 9a14fbfc42..d064bf6d01 100644 --- a/.github/workflows/misc-dailies.yml +++ b/.github/workflows/misc-dailies.yml @@ -31,7 +31,7 @@ jobs: if: ${{ vars.SCHEDULED_MISC_DAILIES }} runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive @@ -90,7 +90,7 @@ jobs: outputs: req-files: ${{ steps.get-list-requirements.outputs.files }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false - name: Get all requirements.txt files and export them as outputs @@ -120,7 +120,7 @@ jobs: steps: - run: echo "${REQUIREMENTS_FILE}" - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false - uses: actions/setup-python@v5 @@ -151,7 +151,7 @@ jobs: IPv6: [0, 1] max-parallel: 1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/secpoll.yml b/.github/workflows/secpoll.yml index 314daa2531..b996db22a9 100644 --- a/.github/workflows/secpoll.yml +++ b/.github/workflows/secpoll.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 5 submodules: recursive -- 2.47.3