From b20339f666f6dc0fd7e61d4e59922ef20c238d13 Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Sun, 21 Jan 2024 19:03:59 +0100 Subject: [PATCH] Update formatter-lua.yml --- .github/workflows/formatter-lua.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/formatter-lua.yml b/.github/workflows/formatter-lua.yml index 353bb57..1420465 100644 --- a/.github/workflows/formatter-lua.yml +++ b/.github/workflows/formatter-lua.yml @@ -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 @@ -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 @@ -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' }}