mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-20 09:01:45 +01:00
Enable parallel execution for linting tasks in HAML workflows (#33593)
This commit is contained in:
parent
9f03e5b53a
commit
1ae574e32a
2
.github/workflows/lint-haml.yml
vendored
2
.github/workflows/lint-haml.yml
vendored
@ -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
|
||||||
|
@ -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',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user