diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 71717e79d600..eeeec1d92e5a 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -26,7 +26,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 @@ -37,7 +37,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 }} @@ -54,7 +54,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 @@ -94,14 +94,14 @@ 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 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 @@ -206,14 +206,14 @@ 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 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 @@ -233,14 +233,14 @@ 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 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 @@ -253,7 +253,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 @@ -276,7 +276,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 b4966648496d..fdeca1af105c 100644 --- a/.github/workflows/builder-dispatch.yml +++ b/.github/workflows/builder-dispatch.yml @@ -22,7 +22,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: 0 # for correct version numbers submodules: recursive @@ -32,7 +32,7 @@ jobs: run: 'echo ::set-output name=version::$(readlink builder/tmp/latest)' id: getversion - name: Upload packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ github.event.inputs.product }}-${{ github.event.inputs.os }}-${{ steps.getversion.outputs.version }} path: built_pkgs/ diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 104dca679602..36a58af13a7f 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -32,7 +32,7 @@ jobs: - debian-bookworm fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # for correct version numbers submodules: recursive @@ -44,7 +44,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/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3f6ef64c899a..e817c04ff93b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,7 +32,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/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