Skip to content

Commit 8457012

Browse files
committed
add setup-nextflow before the pre-commit step
1 parent 95fe69e commit 8457012

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/fix-linting.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}
3333

34+
# Setup nextflow for the linting step
35+
- uses: nf-core/setup-nextflow@v2
36+
3437
# Install and run pre-commit
3538
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3639
with:

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
steps:
1919
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
20+
- uses: nf-core/setup-nextflow@v2
2121
- uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1

0 commit comments

Comments
 (0)