diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9126136..b3cf8375 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,13 +32,20 @@ jobs: - uses: actions/checkout@v3 - name: Setup Nextflow - uses: nf-core/setup-nextflow@v1 - - - name: Install nf-test - if: steps.cache-software.outputs.cache-hit != 'true' - run: | - wget -qO- https://code.askimed.com/install/nf-test | bash - sudo mv nf-test /usr/local/bin/ + uses: jaxxstorm/action-install-gh-release@v1.10.0 + with: + repo: nextflow-io/nextflow + tag: v23.10.0 + extension-matching: disable + binaries-location: nextflow + cache: enable + + - name: Setup nf-test + uses: jaxxstorm/action-install-gh-release@v1.10.0 + with: + repo: https://github.com/askimed/nf-test + tag: "${{ env.NFTEST_VER }}" + cache: enable - name: List nf-test id: list @@ -66,25 +73,21 @@ jobs: - name: Check out pipeline code uses: actions/checkout@v4 - - name: Cache Nextflow installation - id: cache-software - uses: actions/cache@v3 + - name: Setup Nextflow + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: - path: | - /usr/local/bin/nf-test - /home/runner/.nf-test/nf-test.jar - key: methylseq-${{ runner.os }}-${{ matrix.NXF_VER }} - - - name: Install Nextflow - uses: nf-core/setup-nextflow@v1 + repo: nextflow-io/nextflow + tag: v23.10.0 + extension-matching: disable + binaries-location: nextflow + cache: enable + + - name: Setup nf-test + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: - version: "${{ matrix.NXF_VER }}" - - - name: Install nf-test - if: steps.cache-software.outputs.cache-hit != 'true' - run: | - wget -qO- https://code.askimed.com/install/nf-test | bash - sudo mv nf-test /usr/local/bin/ + repo: https://github.com/askimed/nf-test + tag: "${{ env.NFTEST_VER }}" + cache: enable - name: Set up Singularity if: matrix.profile == 'singularity'