π Set up your GitHub Actions workflow with specific versions of Lua, LuaJIT, LuaRocks using Luver β€οΈ
See action.yml
Basic:
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/luver-action@v1
- run: |
luver install lua 5.4.3
luver use 5.4.3
luver install luarocks 3.8.0
- run: |
luarocks install luacheck
Pre-install versions:
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/luver-action@v1
with:
lua_versions: 5.1.5 5.4.3
luajit_versions: 5.1.5:2.1.0-beta3
luarocks_versions: 5.1.5:3.7.0 5.4.3:3.8.0
- run: |
luver use 5.1.5
lua -v
luajit -v
luarocks --version
Set default lua version:
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/luver-action@v1
with:
default: 5.1.5
lua_versions: 5.1.5 5.4.3
- run: |
lua -v
Licensed under the MIT License. Check the LICENSE file for details.