mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
ci: Add disable flags
This commit is contained in:
committed by
Koichi Murase
parent
4f07c58c2c
commit
558cda242d
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@@ -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[@]}
|
||||
|
Reference in New Issue
Block a user