Skip to content

Commit

Permalink
Update formatter-lua.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gellipapa authored Jan 21, 2024
1 parent 247ecf4 commit b20339f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/formatter-lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Run replace script
if: ${{ inputs.any-changed-files-list == 'true' }}
run: node script.js do

- name: Download centralized .prettierrc
run: curl -s -O https://raw.githubusercontent.com/esx-framework/.github/main/.github/actions/.editorconfig

- name: Install stylua and check format
id: check-lua-code-format
Expand All @@ -46,7 +49,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.19.1
args: --check ${{ inputs.all-changed-files-list }}
args: --config-path .editorconfig --check ${{ inputs.all-changed-files-list }}
continue-on-error: true

- name: Run formatter
Expand All @@ -55,7 +58,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.19.1
args: -- ${{ inputs.all-changed-files-list }}
args: --config-path .editorconfig -- ${{ inputs.all-changed-files-list }}

- name: Run undo script
if: ${{ inputs.any-changed-files-list == 'true' }}
Expand Down

0 comments on commit b20339f

Please sign in to comment.