mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-02 20:52:07 -05:00
ci: Fix nextflow cache order
This commit is contained in:
parent
f8f9155b45
commit
180ea5b422
1 changed files with 6 additions and 6 deletions
12
.github/workflows/nf-core-linting.yml
vendored
12
.github/workflows/nf-core-linting.yml
vendored
|
@ -53,6 +53,12 @@ jobs:
|
|||
if: steps.cache-pip.outputs.cache-hit != 'true'
|
||||
run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
|
||||
|
||||
- uses: actions/cache@v2
|
||||
id: cache-nextflow
|
||||
with:
|
||||
path: /usr/local/bin/nextflow
|
||||
key: ${{ runner.os }}-nextflow
|
||||
|
||||
- name: Install Nextflow
|
||||
env:
|
||||
CAPSULE_LOG: none
|
||||
|
@ -63,9 +69,3 @@ jobs:
|
|||
- name: Lint ${{ matrix.tags }}
|
||||
run: nf-core modules lint . -t ${{ matrix.tags }}
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: /usr/local/bin/nextflow
|
||||
key: ${{ runner.os }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}
|
||||
|
|
Loading…
Reference in a new issue