build: Add smoke test to CI test action and added new release action #35
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: Lint | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
jobs: | |
lua-check: | |
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT || 10) }} | |
name: Lua Check | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
issues: read | |
checks: write | |
pull-requests: write | |
if: (github.actor != 'dependabot[bot]') | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Lua Check | |
uses: Kong/public-shared-actions/code-check-actions/lua-lint@0ccacffed804d85da3f938a1b78c12831935f992 # v2.8.0 | |
with: | |
additional_args: '--no-default-config --config .luacheckrc' | |
action_fail: true | |
print_results: true |