From 180ea5b42271d37bb3d3c70795134fa2f8a33054 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Mon, 12 Apr 2021 14:24:33 -0500 Subject: [PATCH] ci: Fix nextflow cache order --- .github/workflows/nf-core-linting.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nf-core-linting.yml b/.github/workflows/nf-core-linting.yml index 0f64bf9a..e49d3209 100644 --- a/.github/workflows/nf-core-linting.yml +++ b/.github/workflows/nf-core-linting.yml @@ -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 }}