chore: use Lua 5.4.0 in CI #21
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: master | |
pull_request: | |
branches: '*' | |
jobs: | |
TestMatrix: | |
strategy: | |
matrix: | |
lua-version: ["5.1", "5.2", "5.3", "5.4.0", "luajit"] | |
os: ["ubuntu-latest", "macos-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@master | |
- uses: leafo/gh-actions-lua@master | |
with: | |
luaVersion: ${{ matrix.lua-version }} | |
- uses: leafo/[email protected] | |
- name: Prep | |
run: | | |
luarocks install busted | |
luarocks install busted-htest | |
luarocks make | |
- name: Tests | |
run: | | |
eval $(luarocks path) | |
busted -o htest |