From 0531bc6b3bcf88d162ed2f43677ec482d6860406 Mon Sep 17 00:00:00 2001 From: windmgc Date: Tue, 15 Aug 2023 15:40:55 +0800 Subject: [PATCH] fix(lint): does not specify global standard in luacheck command line arguments --- code-check-actions/lua-lint/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code-check-actions/lua-lint/action.yml b/code-check-actions/lua-lint/action.yml index f83d4353..1f4b0b44 100644 --- a/code-check-actions/lua-lint/action.yml +++ b/code-check-actions/lua-lint/action.yml @@ -10,7 +10,7 @@ inputs: description: 'List of files, directories and rockspecs to check' required: false default: '.' # Scans workspace dir - + runs: using: composite steps: @@ -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 @@ -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 @@ -51,4 +51,4 @@ runs: action_fail: false fail_on: 'nothing' # Explicitly don't fail reporting check based on test results - +