Skip to content

Commit 22a22ce

Browse files
authored
chore(ci): rebuild source and fix/update GHA (#74)
* make dep to regenerate inspect.lua * CI overhaul: build on PR, bump versions, no fail-fast * Add PRs to triggering events so I can work on this thing. * disable fail-fast so we can see patterns across versions * Bump lua action versions. They're waaay behind. * Specify luarocks version 3.12.0 to fix luajit table limits.
1 parent 783a088 commit 22a22ce

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
name: test
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
test:
77
runs-on: ubuntu-latest
88

99
strategy:
10+
fail-fast: false
1011
matrix:
1112
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit", "luajit-openresty"]
1213

1314
steps:
1415
- uses: actions/checkout@master
1516

16-
- uses: leafo/gh-actions-lua@v8.0.0
17+
- uses: leafo/gh-actions-lua@v11
1718
with:
1819
luaVersion: ${{ matrix.luaVersion }}
1920

20-
- uses: leafo/[email protected]
21+
- uses: leafo/gh-actions-luarocks@v5
22+
with:
23+
luarocksVersion: "3.12.0"
2124

2225
- name: make_dev
2326
run: |

inspect.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table
2-
local inspect = {Options = {}, }
1+
local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type
2+
local inspect = { Options = {} }
33

44

55

0 commit comments

Comments
 (0)