Fix to docs #11
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, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
luaVersion: ["5.1", "5.2", "5.3", "5.4" ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Lua | |
uses: leafo/[email protected] | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- name: Install LuaRocks | |
uses: leafo/[email protected] | |
- name: Build | |
run: scripts/setup_local_luarocks.sh | |
- name: Lint | |
run: scripts/lint_teal.sh | |
- name: Check for untracked or modified files | |
run: | | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "Error: Untracked or modified files found." | |
git status | |
exit 1 | |
else | |
echo "No untracked or modified files." | |
fi | |