From 801a0f298f413f7e022218516b6d68e529491df9 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 13:36:26 -0300 Subject: [PATCH 1/8] ci: update action to setup MSVC without warnings * At the moment, the current action to setup MSVC ( https://github.com/ilammy/msvc-dev-cmd ) emits warnings due the use of EOL nodejs versions; * The action's maintainer does not respond PRs; * Apparently, there is no movement to fix such warnings; * Follow upstream (leafo's action) and use ( https://github.com/step-security/msvc-dev-cmd ). --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1e88cb..8e8eb22 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@main - - uses: ilammy/msvc-dev-cmd@v1 + - uses: step-security/msvc-dev-cmd@v1 - name: Build Lua uses: './' @@ -64,7 +64,7 @@ jobs: steps: - uses: actions/checkout@main - - uses: ilammy/msvc-dev-cmd@v1 + - uses: step-security/msvc-dev-cmd@v1 - name: Get Lua from cache uses: './' From 2bfb2745a5a9d1c4fea74c5467fe373df4b41569 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 13:49:27 -0300 Subject: [PATCH 2/8] docs: recommend the MSVC action used on ci --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eafb789..40c667d 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ Install specific version of LuaJIT: ``` When using Windows the following prerequisite action must be run before -building Lua: [`ilammy/msvc-dev-cmd@v1`](https://github.com/ilammy/msvc-dev-cmd). It is safe to +building Lua: [`step-security/msvc-dev-cmd@v1`](https://github.com/step-security/msvc-dev-cmd). It is safe to include this line on non-Windows platforms, as the action will do nothing in those cases. ```yaml -- uses: ilammy/msvc-dev-cmd@v1 +- uses: step-security/msvc-dev-cmd@v1 - uses: luarocks/gh-actions-lua@v11 ``` From ad81ae15547a0eb598ca599c10cd2deca1280154 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 13:52:13 -0300 Subject: [PATCH 3/8] chore: set 5.5 as default version on actiom.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 68da5d4..e8358b5 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: luaVersion: description: "The version of Lua to install, must be available on https://www.lua.org/ftp/ or http://luajit.org/download.html" required: false - default: "5.4" + default: "5.5" luaCompileFlags: description: "Command line flags passed to make when building Lua" required: false From acb10a856ea0772c835058f72dda99ab2c7f1361 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 13:54:33 -0300 Subject: [PATCH 4/8] ci: add explicit Lua version 5.5.0 to matrix --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e8eb22..e3ebf0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "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.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"] machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"] exclude: - luaVersion: "luajit-2.0" @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"] + 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"] machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"] exclude: - luaVersion: "luajit-2.0" From 57d7c3258719ece16cfa29f76c3ebec3bbe1548c Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 13:59:29 -0300 Subject: [PATCH 5/8] docs: introduce Lua 5.5 version as default --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40c667d..3f8722a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Other Lua GitHub actions: ## Usage -Install Lua: (Will typically default to the latest release, 5.4.8 as of this readme) +Install Lua: (Will typically default to the latest release, 5.5.0 as of this readme) ```yaml - uses: luarocks/gh-actions-lua@v11 @@ -54,7 +54,7 @@ include this line on non-Windows platforms, as the action will do nothing in tho ### `luaVersion` -**Default**: `"5.4"` +**Default**: `"5.5"` Specifies the version of Lua to install. The version name instructs the action where to download the source from. @@ -65,6 +65,7 @@ Examples of versions: * `"5.2.4"` * `"5.3.5"` * `"5.4.1"` +* `"5.5.0"` * `"luajit-2.0"` * `"luajit-2.1"` * `"luajit-master"` @@ -78,7 +79,7 @@ The version specifies where the source is downloaded from: **Version aliases** -You can use shorthand `5.1`, `5.2`, `5.3`, `5.4`, `luajit` version aliases to point to the +You can use shorthand `5.1`, `5.2`, `5.3`, `5.4`, `5.5`, `luajit` version aliases to point to the latest (or recent) version of Lua for that version. ### `luaCompileFlags` From 3f6edcf19dc61b585ecef8435289c904f521ea17 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 14:02:25 -0300 Subject: [PATCH 6/8] docs: bump gh-actions-lua and gh-actions-luarocks --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3f8722a..67d81a4 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,13 @@ Other Lua GitHub actions: Install Lua: (Will typically default to the latest release, 5.5.0 as of this readme) ```yaml -- uses: luarocks/gh-actions-lua@v11 +- uses: luarocks/gh-actions-lua@v12 ``` Install specific version of Lua: ```yaml -- uses: luarocks/gh-actions-lua@v11 +- uses: luarocks/gh-actions-lua@v12 with: luaVersion: "5.1.5" ``` @@ -36,7 +36,7 @@ Install specific version of Lua: Install specific version of LuaJIT: ```yaml -- uses: luarocks/gh-actions-lua@v11 +- uses: luarocks/gh-actions-lua@v12 with: luaVersion: "luajit-2.1.0-beta3" ``` @@ -91,7 +91,7 @@ Additional flags to pass to `make` when building Lua. Example value: ```yaml -- uses: luarocks/gh-actions-lua@v11 +- uses: luarocks/gh-actions-lua@v12 with: luaVersion: 5.3 luaCompileFlags: LUA_CFLAGS="-DLUA_INT_TYPE=LUA_INT_INT" @@ -118,11 +118,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: luarocks/gh-actions-lua@v11 + - uses: luarocks/gh-actions-lua@v12 with: luaVersion: "5.1.5" - - uses: luarocks/gh-actions-luarocks@v6 + - uses: luarocks/gh-actions-luarocks@v7 - name: build run: | @@ -155,7 +155,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: luarocks/gh-actions-lua@v11 + - uses: luarocks/gh-actions-lua@v12 with: luaVersion: ${{ matrix.luaVersion }} From 910969484f553387b841033cbf3ffe2fcf556066 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 14:05:02 -0300 Subject: [PATCH 7/8] docs: mention busted from lunarmodules --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67d81a4..6ce573c 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Example value: ## Full Example This example is for running tests on a Lua module that uses LuaRocks for -dependencies and [busted](https://olivinelabs.com/busted/) for a test suite. +dependencies and [busted](https://github.com/lunarmodules/busted) for a test suite. Create `.github/workflows/test.yml` in your repository: From 8ee2e262dd30b48adbc9c8cb187f641d7a393a79 Mon Sep 17 00:00:00 2001 From: luau-project Date: Fri, 3 Jul 2026 14:07:18 -0300 Subject: [PATCH 8/8] docs: employ checkout v7 on usage --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ce573c..f11e160 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: luarocks/gh-actions-lua@v12 with: @@ -154,7 +154,7 @@ jobs: luaVersion: ["5.1.5", "5.2.4", "luajit-2.1.0-beta3"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: luarocks/gh-actions-lua@v12 with: luaVersion: ${{ matrix.luaVersion }}