Skip to content

Commit

Permalink
bump Github actions to support node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Oct 11, 2024
1 parent 98e4291 commit eeee8fc
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-wasm-test-filters/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
echo "WASM_FILTER_CACHE_PREFIX=wasm-test-filters::v3::${{ runner.os }}" >> $GITHUB_ENV
- name: Restore Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: restore-cache
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
}
- name: add label
if: steps.backport.outputs.was_successful == 'false'
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.0
uses: Kong/action-add-labels@81b0a07d6b2ec64d770be1ca94c31ec827418054
with:
labels: incomplete-backport
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
luarocks config
- name: Bazel Outputs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: bazel-outputs
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
static-mode: ${{ github.run_attempt > 1 }}

- name: Upload schedule files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: schedule-test-files
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
psql -hlocalhost -Ukong kong -tAc 'alter system set max_connections = 5000;'
- name: Download test schedule file
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: schedule-test-files

Expand All @@ -321,13 +321,13 @@ jobs:
make dev
- name: Download test rerun information
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: test-rerun-info-${{ matrix.runner }}

- name: Download test runtime statistics from previous runs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: test-runtime-statistics-${{ matrix.runner }}
Expand Down Expand Up @@ -357,30 +357,30 @@ jobs:

- name: Upload error logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: busted-test-errlogs-${{ matrix.runner }}
path: ${{ env.SPEC_ERRLOG_CACHE_DIR }}
retention-days: 1

- name: Upload test rerun information
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-rerun-info-${{ matrix.runner }}
path: ${{ env.FAILED_TEST_FILES_FILE }}
retention-days: 2

- name: Upload test runtime statistics for offline scheduling
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-runtime-statistics-${{ matrix.runner }}
path: ${{ env.TEST_FILE_RUNTIME_FILE }}
retention-days: 7

- name: Archive coverage stats file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && (inputs.coverage == true || github.event_name == 'schedule') }}
with:
name: luacov-stats-out-${{ github.job }}-${{ github.run_id }}-${{ matrix.runner }}
Expand Down Expand Up @@ -444,14 +444,14 @@ jobs:
- name: Upload error logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: PDK-test-errlogs
path: ${{ env.SPEC_ERRLOG_CACHE_DIR }}
retention-days: 1

- name: Archive coverage stats file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && (inputs.coverage == true || github.event_name == 'schedule') }}
with:
name: luacov-stats-out-${{ github.job }}-${{ github.run_id }}
Expand Down Expand Up @@ -481,7 +481,7 @@ jobs:
sudo luarocks install luafilesystem
# Download all archived coverage stats files
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Stats aggregation
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry-picks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:
}
- name: add label
if: steps.cherry_pick.outputs.was_successful == 'false'
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.0
uses: Kong/action-add-labels@81b0a07d6b2ec64d770be1ca94c31ec827418054
with:
labels: incomplete-cherry-pick
2 changes: 1 addition & 1 deletion .github/workflows/deck-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: sudo apt update && sudo apt install -y libyaml-dev valgrind libprotobuf-dev libpam-dev postgresql-client jq

- name: Checkout Kong source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GHA_KONG_BOT_READ_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
luarocks
- name: Bazel Outputs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: bazel-outputs
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ jobs:
tail -n500 bazel-out/**/*/CMake.log || true
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.label }}-packages
path: bazel-bin/pkg
Expand All @@ -280,7 +280,7 @@ jobs:
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.label }}-packages
path: bazel-bin/pkg
Expand Down Expand Up @@ -316,14 +316,14 @@ jobs:
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.artifact-from }}-packages
path: bazel-bin/pkg

- name: Download artifact (alt)
if: matrix.artifact-from-alt != ''
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.artifact-from-alt }}-packages
path: bazel-bin/pkg
Expand All @@ -348,10 +348,10 @@ jobs:
- name: Set up QEMU
if: matrix.docker-platforms != ''
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Set platforms
id: docker_platforms_arg
Expand Down Expand Up @@ -521,7 +521,7 @@ jobs:
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.artifact-from }}-packages
path: bazel-bin/pkg
Expand Down Expand Up @@ -588,7 +588,7 @@ jobs:
username: ${{ secrets.GHA_DOCKERHUB_PUSH_USER }}
password: ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUSH_TOKEN }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get latest commit SHA on master
run: |
Expand Down

0 comments on commit eeee8fc

Please sign in to comment.