From 84944c02ac9ba38de9244f875d490acfb2dcf332 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Fri, 5 Jan 2024 16:37:06 -0600 Subject: [PATCH 1/3] ci: Use action-install-gh-release Should get us around the rate limiting by properly caching, AND I didn't have to write any real code, just YAML. --- .github/workflows/ci.yml | 43 ++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9126136..5fcf0381 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,13 +32,18 @@ jobs: - uses: actions/checkout@v3 - name: Setup Nextflow - uses: nf-core/setup-nextflow@v1 + uses: jaxxstorm/action-install-gh-release@v1.10.0 + with: + repo: nextflow-io/nextflow + tag: v23.10.0 + cache: enable - - 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/ + - 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 +71,19 @@ 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 }} + repo: nextflow-io/nextflow + tag: v23.10.0 + cache: enable - - name: Install Nextflow - uses: nf-core/setup-nextflow@v1 + - 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' From 0d16ef794ae9cdd4bb6ab51786eb296c5de6d024 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Fri, 5 Jan 2024 16:55:57 -0600 Subject: [PATCH 2/3] ci: Remove extension-matching --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fcf0381..231c0829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: with: repo: nextflow-io/nextflow tag: v23.10.0 + extension-matching: disable cache: enable - name: Setup nf-test @@ -76,6 +77,7 @@ jobs: with: repo: nextflow-io/nextflow tag: v23.10.0 + extension-matching: disable cache: enable - name: Setup nf-test From 39a4923aa52428663714f49df0534c57d07d8d9b Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Fri, 5 Jan 2024 17:16:04 -0600 Subject: [PATCH 3/3] ci: Try setting binaries-location --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 231c0829..b3cf8375 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,7 @@ jobs: repo: nextflow-io/nextflow tag: v23.10.0 extension-matching: disable + binaries-location: nextflow cache: enable - name: Setup nf-test @@ -78,6 +79,7 @@ jobs: repo: nextflow-io/nextflow tag: v23.10.0 extension-matching: disable + binaries-location: nextflow cache: enable - name: Setup nf-test