Skip to content

Trigger workflow

Trigger workflow #63

Workflow file for this run

name: test
on:
push:
branches:
- master
# Run tests for any PRs.
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit", "luajit-openresty"]
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: Install dependencies
run: |
luarocks install luacheck
luarocks install busted
luarocks install http
- name: build
run: luarocks make
- name: Lint and test
run: |
luacheck src/init.lua
busted spec