This repository was archived by the owner on Mar 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,19 +36,27 @@ jobs:
3636 echo "LUA_CPATH=$LUA_CPATH"
3737 } >> "$GITHUB_ENV"
3838
39- - name : Install luacheck/stylua (Lua 5.4)
39+ - name : Install luacheck (Lua 5.4)
4040 run : |
4141 if command -v luarocks >/dev/null 2>&1; then
4242 luarocks --lua-version=5.4 install --local luacheck || true
43- luarocks --lua-version=5.4 install --local stylua || true
4443 echo "$HOME/.luarocks/bin" >> $GITHUB_PATH
4544 else
46- echo "luarocks not installed; failing luacheck/stylua install" && exit 1
45+ echo "luarocks not installed; failing luacheck install" && exit 1
4746 fi
4847
48+ - name : Install stylua binary
49+ run : |
50+ STYLUA_VERSION=2.4.0
51+ curl -sSfL https://github.com/JohnnyMorganz/StyLua/releases/download/v${STYLUA_VERSION}/stylua-linux-x86_64.zip -o /tmp/stylua.zip
52+ unzip -o /tmp/stylua.zip -d /tmp
53+ sudo mv /tmp/stylua /usr/local/bin/stylua
54+ stylua --version
55+
4956 - name : Install gitleaks
5057 run : |
51- curl -sSfL https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks-linux-amd64.tar.gz -o /tmp/gitleaks.tar.gz
58+ GITLEAKS_VERSION=8.30.0
59+ curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz -o /tmp/gitleaks.tar.gz
5260 tar -xzf /tmp/gitleaks.tar.gz -C /tmp
5361 sudo mv /tmp/gitleaks /usr/local/bin/gitleaks
5462
You can’t perform that action at this time.
0 commit comments