Enable parallel execution for linting tasks in HAML workflows (#33593)

This commit is contained in:
fusagiko / takayamaki 2025-01-15 16:48:26 +09:00 committed by GitHub
parent 9f03e5b53a
commit 1ae574e32a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -43,4 +43,4 @@ jobs:
- name: Run haml-lint - name: Run haml-lint
run: | run: |
echo "::add-matcher::.github/workflows/haml-lint-problem-matcher.json" echo "::add-matcher::.github/workflows/haml-lint-problem-matcher.json"
bin/haml-lint --reporter github bin/haml-lint --parallel --reporter github

View file

@ -3,7 +3,7 @@ const config = {
'Gemfile|*.{rb,ruby,ru,rake}': 'bin/rubocop --force-exclusion -a', 'Gemfile|*.{rb,ruby,ru,rake}': 'bin/rubocop --force-exclusion -a',
'*.{js,jsx,ts,tsx}': 'eslint --fix', '*.{js,jsx,ts,tsx}': 'eslint --fix',
'*.{css,scss}': 'stylelint --fix', '*.{css,scss}': 'stylelint --fix',
'*.haml': 'bin/haml-lint -a', '*.haml': 'bin/haml-lint -a --parallel',
'**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit', '**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit',
}; };