From 779fe662029fd4a894e16f7a23d946bbccc0d94e Mon Sep 17 00:00:00 2001 From: luau-project Date: Tue, 4 Aug 2026 08:04:15 -0300 Subject: [PATCH 1/5] ci: update matrix to current Lua and LuaJIT states * The latest Lua is 5.5.1. The 5.5 alias should resolve to Lua 5.5.1; * Only keep Lua 5.1 (for historical reasons) and Lua 5.5 aliases in the matrix, removing previous Lua 5.4; * LuaJIT has removed all previous tags. Due this change, it is not possible to install earlier versions anymore (LuaJIT 2.0.3, LuaJIT 2.0.5 or LuaJIT 2.1.0-beta3). --- .github/workflows/publish.yml | 3 +-- .github/workflows/test.yml | 16 ++-------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c9ca7779..fb2e3ac9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,8 +10,7 @@ jobs: strategy: fail-fast: false matrix: - luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.8", "5.5.0", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1"] - + luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.8", "5.5.1", "luajit", "luajit-openresty", "5.1"] runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6870e2ef..adcdad58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,17 +13,11 @@ jobs: strategy: fail-fast: false matrix: - luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "5.5.0", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4", "5.5"] + luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "5.5.1", "luajit", "luajit-2.0", "luajit-2.1", "luajit-openresty", "5.1", "5.5"] machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"] exclude: - luaVersion: "luajit-2.0" machineTag: "macos-latest" - - luaVersion: "luajit-2.0.5" - machineTag: "macos-latest" - - luaVersion: "luajit-2.0.5" - machineTag: "windows-latest" - - luaVersion: "luajit-2.1.0-beta3" - machineTag: "windows-latest" runs-on: ${{ matrix.machineTag }} @@ -47,17 +41,11 @@ jobs: strategy: fail-fast: false matrix: - luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "5.5.0", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4", "5.5"] + luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "5.5.1", "luajit", "luajit-2.0", "luajit-2.1", "luajit-openresty", "5.1", "5.5"] machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"] exclude: - luaVersion: "luajit-2.0" machineTag: "macos-latest" - - luaVersion: "luajit-2.0.5" - machineTag: "macos-latest" - - luaVersion: "luajit-2.0.5" - machineTag: "windows-latest" - - luaVersion: "luajit-2.1.0-beta3" - machineTag: "windows-latest" runs-on: ${{ matrix.machineTag }} From 1a7c0904847fd97a1a9d64d1c27fd4a78be63d67 Mon Sep 17 00:00:00 2001 From: luau-project Date: Tue, 4 Aug 2026 08:09:59 -0300 Subject: [PATCH 2/5] refactor(main.js): resolve `5.5` alias to `5.5.1` --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 671f3314..f9c8a444 100644 --- a/main.js +++ b/main.js @@ -18,7 +18,7 @@ const VERSION_ALIASES = { "5.2": "5.2.4", "5.3": "5.3.6", "5.4": "5.4.8", - "5.5": "5.5.0", + "5.5": "5.5.1", "luajit": "luajit-2.1", } From cf35432bcdfbace741fbd2cac12a32593c367b63 Mon Sep 17 00:00:00 2001 From: luau-project Date: Tue, 4 Aug 2026 08:12:21 -0300 Subject: [PATCH 3/5] refactor(main.js): remove `luajit-2.1.0-beta3` from `LUAJIT_REPOS` * LuaJIT all the previous tags from the GitHub repository. For this reason, it is pointless to keep entries for that tag in the source code. --- main.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.js b/main.js index f9c8a444..b4860f73 100644 --- a/main.js +++ b/main.js @@ -33,11 +33,6 @@ const LUAJIT_REPOS = { "branch": "v2.1", "binary": "luajit" }, - "luajit-2.1.0-beta3": { - "url": "https://github.com/luajit/luajit.git", - "branch": "v2.1.0-beta3", - "binary": "luajit-2.1.0-beta3" - }, "luajit-master": { "url": "https://github.com/luajit/luajit.git", "branch": "master", From 7cef6b74155a36d5b54b9bbb27b704b363ef8214 Mon Sep 17 00:00:00 2001 From: luau-project Date: Tue, 4 Aug 2026 08:56:33 -0300 Subject: [PATCH 4/5] docs: update README for new versions * Use Lua 5.5.1 as latest version; * Remove references to previous tag versions from LuaJIT examples (LuaJIT tags were removed); * Update `luarocks/gh-actions-lua` from `v12` to `v13`. --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f11e1600..a9bd5461 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,16 @@ Other Lua GitHub actions: ## Usage -Install Lua: (Will typically default to the latest release, 5.5.0 as of this readme) +Install Lua: (Will typically default to the latest release, `5.5.1` as of this readme) ```yaml -- uses: luarocks/gh-actions-lua@v12 +- uses: luarocks/gh-actions-lua@v13 ``` Install specific version of Lua: ```yaml -- uses: luarocks/gh-actions-lua@v12 +- uses: luarocks/gh-actions-lua@v13 with: luaVersion: "5.1.5" ``` @@ -36,9 +36,9 @@ Install specific version of Lua: Install specific version of LuaJIT: ```yaml -- uses: luarocks/gh-actions-lua@v12 +- uses: luarocks/gh-actions-lua@v13 with: - luaVersion: "luajit-2.1.0-beta3" + luaVersion: "luajit-2.0" ``` When using Windows the following prerequisite action must be run before @@ -47,7 +47,7 @@ include this line on non-Windows platforms, as the action will do nothing in tho ```yaml - uses: step-security/msvc-dev-cmd@v1 -- uses: luarocks/gh-actions-lua@v11 +- uses: luarocks/gh-actions-lua@v13 ``` ## Inputs @@ -91,7 +91,7 @@ Additional flags to pass to `make` when building Lua. Example value: ```yaml -- uses: luarocks/gh-actions-lua@v12 +- uses: luarocks/gh-actions-lua@v13 with: luaVersion: 5.3 luaCompileFlags: LUA_CFLAGS="-DLUA_INT_TYPE=LUA_INT_INT" @@ -118,7 +118,7 @@ jobs: steps: - uses: actions/checkout@v7 - - uses: luarocks/gh-actions-lua@v12 + - uses: luarocks/gh-actions-lua@v13 with: luaVersion: "5.1.5" @@ -136,7 +136,7 @@ jobs: This example: -* Uses Lua 5.1.5 — You can use another version by chaning the `luaVersion` varible. LuaJIT versions can be used by prefixing the version with `luajit-`, i.e. `luajit-2.1.0-beta3` +* Uses Lua 5.1.5 — You can use another version by chaning the `luaVersion` varible. LuaJIT versions from known branches (`master`, `v2.1` or `v2.0`) can be used by prefixing the version with `luajit-`, i.e. `luajit-2.0` * Uses a `.rockspec` file the root directory of your repository to install dependencies and test packaging the module via `luarocks make` @@ -151,11 +151,11 @@ jobs: test: strategy: matrix: - luaVersion: ["5.1.5", "5.2.4", "luajit-2.1.0-beta3"] + luaVersion: ["5.1.5", "5.2.4", "luajit"] steps: - uses: actions/checkout@v7 - - uses: luarocks/gh-actions-lua@v12 + - uses: luarocks/gh-actions-lua@v13 with: luaVersion: ${{ matrix.luaVersion }} From a78238b4b592069d257b551afd06e483e265ae26 Mon Sep 17 00:00:00 2001 From: luau-project Date: Tue, 4 Aug 2026 12:53:50 -0300 Subject: [PATCH 5/5] chore(README): fix typos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9bd5461..d04533ae 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ jobs: This example: -* Uses Lua 5.1.5 — You can use another version by chaning the `luaVersion` varible. LuaJIT versions from known branches (`master`, `v2.1` or `v2.0`) can be used by prefixing the version with `luajit-`, i.e. `luajit-2.0` +* Uses Lua 5.1.5 — You can use another version by changing the `luaVersion` variable. LuaJIT versions from known branches (`master`, `v2.1` or `v2.0`) can be used by prefixing the version with `luajit-`, i.e. `luajit-2.0` * Uses a `.rockspec` file the root directory of your repository to install dependencies and test packaging the module via `luarocks make`