Skip to content

add pattern match for types.empty + t for optional #51

add pattern match for types.empty + t for optional

add pattern match for types.empty + t for optional #51

Workflow file for this run

name: test
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "luajit", "5.2", "5.3", "5.4"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@master
- name: build
run: |
luarocks install busted
luarocks install moonscript
luarocks install lua-cjson
luarocks install lapis
luarocks make
- name: test
run: |
busted -o utfTerminal