diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5591cf78..73282040 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Lint workflow - uses: snakemake/snakemake-github-action@v1.25.1 + uses: snakemake/snakemake-github-action@v2.0.1 with: directory: . snakefile: workflow/Snakefile @@ -155,14 +155,14 @@ jobs: curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314997.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.1.7.fasta curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314998.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.351.fasta - name: Test rule ${{ matrix.rule }} on ${{ matrix.technology }} ${{ matrix.seq_method }} data - uses: snakemake/snakemake-github-action@v1.25.1 + uses: snakemake/snakemake-github-action@v2.0.1 with: directory: .tests snakefile: workflow/Snakefile args: "-p --use-conda --show-failed-logs --cores 2 --resources ncbi_api_requests=1 --conda-cleanup-pkgs cache --conda-frontend mamba ${{ matrix.rule }}" - name: Test report - uses: snakemake/snakemake-github-action@v1.25.1 + uses: snakemake/snakemake-github-action@v2.0.1 if: startsWith(matrix.rule, 'all -np') != true with: directory: .tests @@ -347,14 +347,14 @@ jobs: curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314997.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.1.7.fasta curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314998.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.351.fasta - name: Test rule ${{ matrix.rule }} - uses: snakemake/snakemake-github-action@v1.25.1 + uses: snakemake/snakemake-github-action@v2.0.1 with: directory: .tests snakefile: workflow/Snakefile args: "-p --use-conda --show-failed-logs --cores 2 --resources ncbi_api_requests=1 --conda-cleanup-pkgs cache --conda-frontend mamba ${{ matrix.rule }}" - name: Test report - uses: snakemake/snakemake-github-action@v1.25.1 + uses: snakemake/snakemake-github-action@v2.0.1 if: startsWith(matrix.rule, 'all -np') != true with: directory: .tests diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2545ec72..7f6cc896 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -111,7 +111,7 @@ jobs: - name: Create Dockerfile if: ${{ steps.release.outputs.release_created == 'true' }} - uses: snakemake/snakemake-github-action@v1.25.1 + uses: snakemake/snakemake-github-action@v2.0.1 with: directory: . snakefile: workflow/Snakefile