Skip to content

Commit a974b6a

Browse files
committed
run pre-commit when testing linting the template pipeline
1 parent 24e2dc2 commit a974b6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/create-test-lint-wf-template.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ jobs:
152152
run: nf-core --log-file log.txt --hide-progress pipelines lint --dir my-prefix-testpipeline --fail-warned
153153
working-directory: create-test-lint-wf
154154

155+
# Run code style linting
156+
- name: run pre-commit
157+
shell: bash
158+
run: pre-commit run --all-files
159+
working-directory: create-test-lint-wf
160+
155161
# Run bump-version
156162
- name: nf-core pipelines bump-version
157163
run: nf-core --log-file log.txt pipelines bump-version --dir my-prefix-testpipeline/ 1.1

0 commit comments

Comments
 (0)