Skip to content

Commit 55af2aa

Browse files
Update editorconfig-check.yml
Signed-off-by: LUIZ HAMILTON ROBERTO DA SILVA <luizhamilton.lhr@gmail.com>
1 parent 9cb0851 commit 55af2aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/editorconfig-check.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
push:
55
branches: [main, develop]
66
paths:
7-
- '**.editorconfig'
7+
- '**/.editorconfig'
88
- '**/*.{ps1,vbs,hta,psm1,xml,json,md,txt,csv,log,sh,html,yml,yaml,ini,config,nuspec,csproj}'
99
pull_request:
1010
branches: [main, develop]
1111
paths:
12-
- '**.editorconfig'
12+
- '**/.editorconfig'
1313
- '**/*.{ps1,vbs,hta,psm1,xml,json,md,txt,csv,log,sh,html,yml,yaml,ini,config,nuspec,csproj}'
1414
workflow_dispatch:
1515

@@ -25,12 +25,12 @@ jobs:
2525
- name: 📥 Download EditorConfig Checker
2626
run: |
2727
wget -q https://github.com/editorconfig-checker/editorconfig-checker/releases/latest/download/ec-linux-amd64.tar.gz
28-
mkdir ec-checker && tar -xzf ec-linux-amd64.tar.gz -C ec-checker
29-
chmod +x ec-checker/ec*
30-
sudo mv ec-checker/ec* /usr/local/bin/ec
28+
mkdir ec-checker
29+
tar -xzf ec-linux-amd64.tar.gz -C ec-checker
30+
chmod +x ec-checker/ec-linux-amd64
31+
sudo mv ec-checker/ec-linux-amd64 /usr/local/bin/ec
3132
3233
- name: ▶️ Run EditorConfig Checker
3334
run: |
3435
ec --version
35-
ec --disable-logs || true # Avoid failure on warnings
36-
36+
ec --disable-logs || true

0 commit comments

Comments
 (0)