Skip to content

Commit

Permalink
ci: Add disable flags
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall authored and akinomyoga committed Apr 16, 2023
1 parent 1083133 commit 70be067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: Check out code.
uses: actions/checkout@v2
- name: "Check EditorConfig Lint"
env:
EDITORCONFIG_FLAGS: '-disable-indent-size -disable-indentation'
run: |
sudo apt install -y jq golang
go install 'github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@latest'
readarray -t changed_files <<<"$(jq -r '.[]' <<<'${{ steps.files.outputs.added_modified }}')"
~/go/bin/editorconfig-checker ${changed_files[@]}
~/go/bin/editorconfig-checker ${{ env.EDITORCONFIG_FLAGS }} ${changed_files[@]}

0 comments on commit 70be067

Please sign in to comment.