Skip to content

Commit 68c076b

Browse files
committed
chore(*): bump CI to include Lua 5.5
1 parent 0f4026a commit 68c076b

File tree

2 files changed

+43
-11
lines changed

2 files changed

+43
-11
lines changed

.github/workflows/lint.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
11
name: Lint
22

3-
on: [push, pull_request]
3+
concurrency:
4+
# for PR's cancel the running task, if another commit is pushed
5+
group: ${{ github.workflow }} ${{ github.ref }}
6+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
7+
8+
on:
9+
# build on PR and push-to-main. This works for short-lived branches, and saves
10+
# CPU cycles on duplicated tests.
11+
# For long-lived branches that diverge, you'll want to run on all pushes, not
12+
# just on push-to-main.
13+
pull_request: {}
14+
push:
15+
branches:
16+
- master
17+
418

519
jobs:
620
lint:
7-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-22.04
822
steps:
923
- name: Checkout
10-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
1125

12-
- uses: leafo/gh-actions-lua@v8
26+
- uses: luarocks/gh-actions-lua@master
1327
with:
1428
luaVersion: "5.4"
1529

16-
- uses: leafo/gh-actions-luarocks@v4
30+
- uses: luarocks/gh-actions-luarocks@master
31+
with:
32+
luaRocksVersion: "3.13.0"
1733

1834
- name: dependencies
1935
run: |

.github/workflows/unix_build.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,41 @@
11
name: "Unix build"
22

3-
on: [push, pull_request]
3+
concurrency:
4+
# for PR's cancel the running task, if another commit is pushed
5+
group: ${{ github.workflow }} ${{ github.ref }}
6+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
7+
8+
on:
9+
# build on PR and push-to-main. This works for short-lived branches, and saves
10+
# CPU cycles on duplicated tests.
11+
# For long-lived branches that diverge, you'll want to run on all pushes, not
12+
# just on push-to-main.
13+
pull_request: {}
14+
push:
15+
branches:
16+
- master
17+
418

519
jobs:
620
test:
7-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-22.04
822

923
strategy:
1024
fail-fast: false
1125
matrix:
12-
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit-2.1.0-beta3", "luajit-openresty"]
26+
luaVersion: ["5.1", "5.2", "5.3", "5.4", "5.5", "luajit-2.1.0-beta3", "luajit-openresty"]
1327

1428
steps:
1529
- name: Checkout
16-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
1731

18-
- uses: leafo/gh-actions-lua@v8
32+
- uses: luarocks/gh-actions-lua@master
1933
with:
2034
luaVersion: ${{ matrix.luaVersion }}
2135

22-
- uses: leafo/gh-actions-luarocks@v4
36+
- uses: luarocks/gh-actions-luarocks@master
37+
with:
38+
luaRocksVersion: "3.13.0"
2339

2440
- name: test dependencies
2541
run: |

0 commit comments

Comments
 (0)