name: CI Lua5.1

on:
  push:
    branches:
      - master
  workflow_dispatch:

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
  cancel-in-progress: true

jobs:
  ReportOnLua51:
    name: Go Lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: Setup Lua
        uses: leafo/gh-actions-lua@v9
        with:
          luaVersion: "5.1.5"

      - name: Generate Report
        working-directory: ${{ github.workflow.workflow_root }}
        run: |
          lua -v
          lua main.lua

Add CI pipeline, run tests on lua 5.1
Add CI pipeline, run tests on lua 5.1
