@@ -70,20 +70,11 @@ jobs:
7070 - name : Run ECLint check
7171 run : editorconfig-checker -exclude README.md $(git ls-files | grep -v test)
7272
73- # FIXME Lint everything?
7473 nf-core-lint-modules :
7574 runs-on : ${{ github.event.inputs.runners || 'self-hosted' }}
76- name : nf-core-lint-modules
77- needs : [pytest-changes, nf-test-changes]
78- if : ${{ (needs.pytest-changes.outputs.modules != '[]') || ( needs.nf-test-changes.outputs.modules != '[]') }}
75+ name : nf-core lint modules
7976 strategy :
8077 fail-fast : false
81- matrix :
82- tags :
83- [
84- " ${{ fromJson(needs.pytest-changes.outputs.modules) }}" ,
85- " ${{ fromJson(needs.nf-test-changes.outputs.modules) }}" ,
86- ]
8778 steps :
8879 - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
8980
@@ -114,23 +105,12 @@ jobs:
114105 - name : Install nf-core tools development version
115106 run : python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
116107
117- - name : Lint module ${{ matrix.tags }}
118- run : nf-core modules lint ${{ matrix.tags }}
108+ - name : Lint modules
109+ run : nf-core modules lint -a
119110
120- # FIXME Lint everything?
121111 nf-core-lint-subworkflows :
122112 runs-on : ubuntu-latest
123- name : nf-core-lint-modules
124- needs : [pytest-changes, nf-test-changes]
125- if : ${{ (needs.pytest-changes.outputs.subworkflows != '[]') || ( needs.nf-test-changes.outputs.subworkflows != '[]') }}
126- strategy :
127- fail-fast : false
128- matrix :
129- tags :
130- [
131- " ${{ fromJson(needs.pytest-changes.outputs.subworkflows) }}" ,
132- " ${{ fromJson(needs.nf-test-changes.outputs.subworkflows) }}" ,
133- ]
113+ name : nf-core lint subworkflows
134114 steps :
135115 - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
136116
@@ -153,5 +133,5 @@ jobs:
153133 - name : Install nf-core tools development version
154134 run : python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
155135
156- - name : Lint module ${{ matrix.tags }}
157- run : nf-core subworkflows lint ${{ matrix.tags }}
136+ - name : Lint subworkflows
137+ run : nf-core subworkflows lint -a
0 commit comments