From 04ac3aa88e25de57c37f2c7c7e96419314d13f3d Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 8 Jan 2024 17:14:20 +0100 Subject: [PATCH 1/3] ci: Update upload-artifact and download-artifact to version 4 --- .github/workflows/build-and-test-all.yml | 8 ++++---- .github/workflows/builder-dispatch.yml | 2 +- .github/workflows/builder.yml | 2 +- .github/workflows/fuzz.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 9f552240fc24..1e80c83f7d86 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -82,7 +82,7 @@ jobs: - run: ccache -s - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Store the binaries - uses: actions/upload-artifact@v3 # this takes 30 seconds, maybe we want to tar + uses: actions/upload-artifact@v4 # this takes 30 seconds, maybe we want to tar with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth @@ -129,7 +129,7 @@ jobs: ref: ${{ inputs.branch-name }} - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Fetch the binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth @@ -241,7 +241,7 @@ jobs: ref: ${{ inputs.branch-name }} - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Fetch the binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth @@ -268,7 +268,7 @@ jobs: ref: ${{ inputs.branch-name }} - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Fetch the binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth diff --git a/.github/workflows/builder-dispatch.yml b/.github/workflows/builder-dispatch.yml index e62a8ef89060..864082b78741 100644 --- a/.github/workflows/builder-dispatch.yml +++ b/.github/workflows/builder-dispatch.yml @@ -69,7 +69,7 @@ jobs: run: 'echo ::set-output name=version::$(readlink builder/tmp/latest)' id: getversion - name: Upload packages as GH artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ github.event.inputs.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }} path: built_pkgs/ diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index c19ea2b6c794..35a990e91249 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -45,7 +45,7 @@ jobs: echo "version=$(readlink builder/tmp/latest)" >> $GITHUB_OUTPUT id: getversion - name: Upload packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }} path: built_pkgs/ diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index c93ed0ef8769..fc3317e5402c 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -20,7 +20,7 @@ jobs: fuzz-seconds: 600 dry-run: false - name: Upload Crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: artifacts From 7b7d3982a31ce2a32c9ad687d1a9b777c2288b98 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 15:34:52 +0000 Subject: [PATCH 2/3] build(deps): bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-and-test-all.yml | 12 ++++++------ .github/workflows/builder-dispatch.yml | 2 +- .github/workflows/builder.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/formatting.yml | 2 +- .github/workflows/misc-dailies.yml | 2 +- .github/workflows/secpoll.yml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 1e80c83f7d86..4afd10f3bfd2 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -32,7 +32,7 @@ jobs: clang-tidy-auth-failed: ${{ steps.clang-tidy-annotations.outputs.failed }} steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive @@ -122,7 +122,7 @@ jobs: --restart always steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive @@ -234,7 +234,7 @@ jobs: --restart always steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive @@ -261,7 +261,7 @@ jobs: ASAN_OPTIONS: detect_leaks=0 steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive @@ -282,7 +282,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive @@ -316,7 +316,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 '${{ toJSON(needs) }}' | jq -r '.[].result'`; do if [[ $i == 'failure' ]]; then echo '${{ toJSON(needs) }}'; exit 1; fi; done;" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/builder-dispatch.yml b/.github/workflows/builder-dispatch.yml index 864082b78741..2f8559611206 100644 --- a/.github/workflows/builder-dispatch.yml +++ b/.github/workflows/builder-dispatch.yml @@ -58,7 +58,7 @@ jobs: os: ${{fromJson(needs.prepare.outputs.oslist)}} fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # for correct version numbers submodules: recursive diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 35a990e91249..fe41d13fb005 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -33,7 +33,7 @@ jobs: - amazon-2023 fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 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 41880c2031f7..4d03a3953c6b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: PowerDNS/pdns/set-ubuntu-mirror@meta - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 19bac0344a2b..cedeef126968 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -14,7 +14,7 @@ jobs: # on a ubuntu-20.04 VM runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml index 95871e019ecc..351781e1d08f 100644 --- a/.github/workflows/misc-dailies.yml +++ b/.github/workflows/misc-dailies.yml @@ -28,7 +28,7 @@ jobs: if: ${{ vars.SCHEDULED_MISC_DAILIES }} runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive diff --git a/.github/workflows/secpoll.yml b/.github/workflows/secpoll.yml index b7b52ea7a125..93253b43ac37 100644 --- a/.github/workflows/secpoll.yml +++ b/.github/workflows/secpoll.yml @@ -14,7 +14,7 @@ jobs: # on a ubuntu-20.04 VM runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 5 submodules: recursive From 573262146415df2b3e65113855b77d110e1c29e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 15:21:24 +0000 Subject: [PATCH 3/3] build(deps): bump actions/cache from 3 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-and-test-all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 4afd10f3bfd2..a154c0056ac3 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -43,7 +43,7 @@ jobs: echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT" shell: bash - name: let GitHub cache our ccache data - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.ccache key: auth-ccache-${{ steps.get-stamp.outputs.stamp }}