Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit ee87bba

Browse files
jainejaine
authored andcommitted
ci: fix luarocks path and gitleaks install
1 parent 831780a commit ee87bba

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
done
2929
echo "$HOME/.luarocks/bin" >> $GITHUB_PATH
3030
31+
- name: Export LuaRocks paths (Lua 5.4)
32+
run: |
33+
eval "$(luarocks --lua-version=5.4 path)"
34+
{
35+
echo "LUA_PATH=$LUA_PATH"
36+
echo "LUA_CPATH=$LUA_CPATH"
37+
} >> "$GITHUB_ENV"
38+
3139
- name: Install luacheck/stylua (Lua 5.4)
3240
run: |
3341
if command -v luarocks >/dev/null 2>&1; then
@@ -40,7 +48,7 @@ jobs:
4048
4149
- name: Install gitleaks
4250
run: |
43-
curl -sSfL https://raw.githubusercontent.com/gitleaks/gitleaks/master/scripts/install.sh | bash -s -- -b /usr/local/bin
51+
curl -sSfL https://raw.githubusercontent.com/gitleaks/gitleaks/master/install.sh | bash -s -- -b /usr/local/bin
4452
4553
- name: Preflight (schemas + Lua syntax + deps)
4654
env:

0 commit comments

Comments
 (0)