Skip to content

Commit a66034a

Browse files
authored
#18 Support Lua 5.4 (#21)
* #18: Add support for Lua 5.4
1 parent 7289269 commit a66034a

File tree

3 files changed

+36
-15
lines changed

3 files changed

+36
-15
lines changed

.github/workflows/ci-build.yml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,37 @@ jobs:
66
strategy:
77
fail-fast: true
88
matrix:
9-
lua_version: [5.1, 5.2, 5.3]
9+
lua_version: [5.1, 5.2, 5.3, 5.4]
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}-lua-${{ matrix.lua_version }}
12+
cancel-in-progress: true
13+
name: "Build with Lua ${{ matrix.lua_version }}"
1014
runs-on: ubuntu-latest
1115
steps:
12-
- name: "Install prerequisites"
13-
run: |
14-
sudo apt-get update
15-
sudo apt-get -y install lua${{ matrix.lua_version }} liblua${{ matrix.lua_version }} lua-any
16-
wget http://http.us.debian.org/debian/pool/main/l/luarocks/luarocks_3.8.0+dfsg1-1_all.deb
17-
sudo dpkg -i luarocks_3.8.0+dfsg1-1_all.deb
18-
- uses: actions/checkout@v2
16+
- name: Checkout repo
17+
uses: actions/checkout@v3
18+
with:
19+
fetch-depth: 1
20+
- name: Install Lua ${{ matrix.lua_version }}
21+
uses: leafo/gh-actions-lua@v8.0.0
1922
with:
20-
fetch-depth: 0
23+
luaVersion: ${{ matrix.lua_version }}
24+
- name: Install LuaRocks
25+
uses: leafo/gh-actions-luarocks@v4
26+
with:
27+
luarocksVersion: "3.8.0"
28+
- name: Print versions
29+
run: |
30+
lua -v
31+
luarocks --version
32+
luarocks path
2133
- name: "Install Lua dependencies"
2234
run: |
23-
sudo luarocks install --deps-only *.rockspec
35+
luarocks install --local --deps-only *.rockspec
2436
- name: "Run Tests"
2537
run: |
26-
sudo luarocks make
38+
eval $(luarocks path)
39+
luarocks make --local
2740
tools/runtests.sh
2841
- name: Archive code coverage results
2942
uses: actions/upload-artifact@v2

doc/changes/changes_1.1.1.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
# remotelog-lua 1.1.1, released 2022-03-??
1+
# remotelog-lua 1.1.1, released 2022-03-03
22

3-
Code name: Fix filtering of `trace` messages
3+
Code name: Fix filtering of `trace` messages and support Lua 5.4
44

55
## Summary
66

7-
Version 1.1.1 of `remotelog-lua` fixes a bug that caused `trace` messages always being logged, independent of the log level.
7+
Version 1.1.1 of `remotelog-lua` fixes a bug that caused `trace` messages always being logged, independent of the log level. Additionally it also supports Lua 5.4.
8+
9+
### Feature
10+
11+
* #18: Added support for Lua 5.4.
812

913
### Bugfixes
1014

1115
* #19: Fixed filtering of `trace` messages
16+
17+
## Dependency Updates
18+
19+
* Added `lua:5.4`

remotelog-1.1.1-1.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ description = {
2929
maintainer = 'Exasol <opensource@exasol.com>'
3030
}
3131

32-
dependencies = {"lua >= 5.1, < 5.4", "luasocket > 2.0.2-6"}
32+
dependencies = {"lua >= 5.1, < 5.5", "luasocket > 2.0.2-6"}
3333

3434
build_dependencies = {"luacheck >= 0.25.0", "luacov >= 0.15.0", "luacov-coveralls >= 0.2.3", "luaunit >= 3.4",
3535
"mockagne >= 1.0-2"}

0 commit comments

Comments
 (0)