Skip to content

Commit 41d7ac6

Browse files
committed
chore(workflows): bump workflow deps versions
1 parent 9e12a91 commit 41d7ac6

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/build_and_test_with_resty_events.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
build:
1919
name: CI using lua-resty-events
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
openresty-version: [1.19.9.1, 1.21.4.3, 1.25.3.1]
@@ -34,9 +34,9 @@ jobs:
3434
env:
3535
OPENRESTY_VER: ${{ matrix.openresty-version }}
3636
RESTY_EVENTS_VER: 0.3.0
37-
LUAROCKS_VER: 3.9.0
38-
OPENSSL_VER: 1.1.1q
39-
PCRE_VER: 8.45
37+
LUAROCKS_VER: 3.12.0
38+
OPENSSL_VER: 3.4.1
39+
PCRE_VER: 10.45
4040
run: |
4141
echo "INSTALL_ROOT=/home/runner/work/cache/install-root" >> $GITHUB_ENV
4242
echo "DOWNLOAD_ROOT=/home/runner/work/cache/download-root" >> $GITHUB_ENV
@@ -48,10 +48,10 @@ jobs:
4848
echo "LD_LIBRARY_PATH=$HOME/install-root/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
4949
5050
- name: Checkout lua-resty-healthcheck
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252

5353
- name: Lookup build cache
54-
uses: actions/cache@v3
54+
uses: actions/cache@v4
5555
id: cache-deps
5656
with:
5757
path: |
@@ -72,7 +72,7 @@ jobs:
7272
make install_sw
7373
7474
- name: Checkout lua-resty-events
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676
with:
7777
repository: Kong/lua-resty-events
7878
ref: refs/tags/0.3.0

.github/workflows/build_and_test_with_worker_events.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ on:
1616
jobs:
1717
build:
1818
name: CI using lua-resty-worker-events
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-22.04
2020
strategy:
2121
matrix:
22-
openresty-version: [1.21.4.3]
22+
openresty-version: [1.27.1.2]
2323

2424
steps:
2525
- name: Update and install OS dependencies
@@ -36,17 +36,17 @@ jobs:
3636
echo "/usr/local/openresty/nginx/sbin" >> $GITHUB_PATH
3737
3838
- name: Checkout lua-resty-healthcheck
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040

4141
- name: Install OpenResty ${{ matrix.openresty-version }}
4242
env:
4343
OPENRESTY_VER: ${{ matrix.openresty-version }}
4444
run: |
4545
sudo apt-get -y install --no-install-recommends wget gnupg ca-certificates
46-
wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
47-
echo "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list
46+
wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/openresty.gpg
47+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list > /dev/null
4848
sudo apt-get update
49-
sudo apt-get -y install openresty=$OPENRESTY_VER-1~focal1
49+
sudo apt-get -y install openresty=$OPENRESTY_VER-1~jammy1
5050
5151
- name: Install LuaRocks
5252
run: sudo apt-get install -y luarocks
@@ -63,7 +63,7 @@ jobs:
6363
cpanm --notest Test::Nginx
6464
6565
- name: Checkout lua-resty-healthcheck
66-
uses: actions/checkout@v3
66+
uses: actions/checkout@v4
6767

6868
- name: Install lua-resty-healthcheck
6969
run: sudo luarocks make

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout source code
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
# Optional step to run on only changed files
3636
- name: Get changed files
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: Lua Check
4444
if: steps.changed-files.outputs.any_changed == 'true'
45-
uses: Kong/public-shared-actions/code-check-actions/lua-lint@c03e30a36e8a2dde5cbd463229a96aaad7ccad24
45+
uses: Kong/public-shared-actions/code-check-actions/lua-lint@fa3d956324c2633b23cc3825b3403d91460675a1 # 4.1.4
4646
with:
4747
additional_args: '--no-default-config --config .luacheckrc'
4848
files: ${{ steps.changed-files.outputs.all_changed_files }}

.github/workflows/sast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
if: (github.actor != 'dependabot[bot]')
3333

3434
steps:
35-
- uses: actions/checkout@v3
36-
- uses: Kong/public-shared-actions/security-actions/semgrep@c03e30a36e8a2dde5cbd463229a96aaad7ccad24
35+
- uses: actions/checkout@v4
36+
- uses: Kong/public-shared-actions/security-actions/semgrep@fa3d956324c2633b23cc3825b3403d91460675a1 # 4.1.4

0 commit comments

Comments
 (0)