fix: luasystem should be 0.3 not 3.0 #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Lua | |
uses: leafo/[email protected] | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- name: Install LuaRocks | |
uses: leafo/[email protected] | |
- name: Build | |
run: | | |
luarocks install luafilesystem # TODO: luarocks seems to grab the wrong version with --dev | |
luarocks make --dev | |
luarocks install busted | |
- name: Test | |
run: busted -o utfTerminal | |