Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lint): do not specify global standard in luacheck command line arguments #57

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions code-check-actions/lua-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
description: 'List of files, directories and rockspecs to check'
required: false
default: '.' # Scans workspace dir

runs:
using: composite
steps:
Expand All @@ -19,8 +19,8 @@ runs:
uses: lunarmodules/luacheck@fcbdeacad00e643e0d78c56b9ba6d8b3c7fa584f
continue-on-error: true
with:
args: "${{ inputs.additional_args }} -c --codes --ranges --formatter JUnit -q ${{ inputs.files }} > luacheck_${{github.sha}}.xml"
args: "${{ inputs.additional_args }} --codes --ranges --formatter JUnit -q ${{ inputs.files }} > luacheck_${{github.sha}}.xml"

- name: Upload results to workflow
if: always()
uses: actions/upload-artifact@v3
Expand All @@ -32,7 +32,7 @@ runs:

# - name: Print Luacheck results
# shell: bash
# run: |
# run: |
# cat luacheck_${{github.sha}}.xml

# when using the regular GITHUB_TOKEN, the check-run created by this step will be assigned to a
Expand All @@ -51,4 +51,4 @@ runs:
action_fail: false
fail_on: 'nothing' # Explicitly don't fail reporting check based on test results


Loading