From c7262e27d867bd2ea1ac6210d34e9cf80a84d20c Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Sun, 24 Jan 2021 11:35:24 -0600 Subject: [PATCH] ci: Cache nextflow --- .github/workflows/pytest-workflow.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pytest-workflow.yml b/.github/workflows/pytest-workflow.yml index c4bc0f02..5a55c651 100644 --- a/.github/workflows/pytest-workflow.yml +++ b/.github/workflows/pytest-workflow.yml @@ -37,6 +37,12 @@ jobs: uses: actions/setup-python@v2 with: python-version: "3.x" + - uses: actions/cache@v2 + with: + path: /usr/local/bin/nextflow + key: ${{ runner.os }}-nextflow-${{ matrix.nxf_version }} + restore-keys: | + ${{ runner.os }}-nextflow- - name: Nextflow pytest-workflow uses: Emiller88/pytest-workflow-composite-action@master with: