Recompile #8
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: push | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# If self-linting fails on any version, it uses version-specific apis and doesn't polyfill | |
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: leafo/[email protected] | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- uses: leafo/[email protected] | |
- name: Build | |
run: | | |
luarocks install --server=https://luarocks.org/dev --deps-mode none cyan | |
luarocks install luafilesystem | |
luarocks install argparse | |
luarocks install tl | |
cyan build | |
luarocks make | |
- name: Lint | |
run: | | |
shiroko check-all |