1616jobs :
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
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
0 commit comments