Tag and reference graphs #302
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: Lua check | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: leafo/[email protected] | |
- uses: leafo/[email protected] | |
- name: Set up lua | |
run: | | |
luarocks install busted | |
luarocks install luacheck | |
- name: Lint with luacheck | |
run: | | |
cd filters; luacheck src/*.lua --std max+busted | |
- name: Test with busted | |
run: | | |
cd filters; busted src -p '.*.test.lua' |