Fix for the very common infinite loop issue, when forgetting to call getIterator #53
Workflow file for this run
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-and-publish | |
on: [push, pull_request] | |
jobs: | |
# TODO: Tests don't seem to run for 5.1 and 5.2 due to some weirdness... | |
tests-51: | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
lua-version: 5.1 | |
tests-52: | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
lua-version: 5.2 | |
tests-53: | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
lua-version: 5.3 | |
tests-54: | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
lua-version: 5.4 | |
publish: | |
name: Publish to LuaRocks | |
runs-on: ubuntu-latest | |
needs: [tests-51, tests-52, tests-53, tests-54] | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Lua/LuaJIT | |
uses: leafo/gh-actions-lua@v8.0.0 | |
with: | |
luaVersion: 5.4 | |
- name: Install LuaRocks | |
uses: leafo/gh-actions-luarocks@v4.0.0 | |
- name: Install dkjson | |
run: | | |
luarocks install dkjson | |
- name: Publish to LuaRocks | |
run: | | |
luarocks upload lazylualinq-dev-1.rockspec --force --api-key=${{ secrets.LUAROCKS_API_KEY }} | |
if: ${{ github.ref == 'refs/heads/main' }} |