@@ -34,12 +34,12 @@ jobs:
3434 echo "current branch: ${{ github.ref }}"
3535
3636 - name : Free Disk Space (Ubuntu)
37- uses :
jlumbroso/[email protected] .0 37+ uses :
jlumbroso/[email protected] .1 3838 with :
3939 # this might remove tools that are actually needed,
4040 # if set to "true" but frees about 6 GB
4141 tool-cache : false
42-
42+
4343 # all of these default to true, but feel free to set to
4444 # "false" if necessary for your workflow
4545 android : true
@@ -48,63 +48,68 @@ jobs:
4848 large-packages : true
4949 swap-storage : true
5050 docker-images : false
51-
51+
5252 - name : Check out repository code
5353 uses : actions/checkout@v2
5454
5555 - name : Download reference genome
56- uses : snakemake/snakemake-github-action@v1
56+ uses : snakemake/snakemake-github-action@v2
5757 with :
5858 directory : " ."
5959 snakefile : " workflow/Snakefile"
60- args : " --cores 1 --use- conda --conda-cleanup-pkgs cache resources/reference/genome.fasta"
60+ args : " --cores 1 --sdm conda --conda-cleanup-pkgs cache resources/reference/genome.fasta"
6161 stagein : |
62- pip install snakemake-storage-plugin-zenodo snakemake-storage-plugin-http
62+ pip install snakemake-storage-plugin-zenodo
63+ pip install snakemake-storage-plugin-http
6364
6465 - name : Download truthsets
65- uses : snakemake/snakemake-github-action@v1
66+ uses : snakemake/snakemake-github-action@v2
6667 with :
6768 directory : " ."
6869 snakefile : " workflow/Snakefile"
69- args : " --use- conda --cores 1 --conda-cleanup-pkgs cache --until benchmark_get_truth"
70+ args : " --sdm conda --cores 1 --conda-cleanup-pkgs cache --until benchmark_get_truth"
7071 stagein : |
71- pip install snakemake-storage-plugin-zenodo snakemake-storage-plugin-http
72+ pip install snakemake-storage-plugin-zenodo
73+ pip install snakemake-storage-plugin-http
7274
7375 # This step is necessary (after downloading the truthsets above) to ensure
7476 # that the files coming from the git repo are not triggering reruns
7577 # because their modification dates are too new or too old.
7678 # (as git does not preserve modification dates)
7779 - name : Fix modification dates
78- uses : snakemake/snakemake-github-action@v1
80+ uses : snakemake/snakemake-github-action@v2
7981 with :
8082 directory : " ."
8183 snakefile : " workflow/Snakefile"
82- args : " --cores 1 --touch resources/regions/*/test-regions.cov-*.bed"
84+ args : " --cores 1 --sdm conda -- touch resources/regions/*/test-regions.cov-*.bed"
8385 stagein : |
84- pip install snakemake-storage-plugin-zenodo snakemake-storage-plugin-http
86+ pip install snakemake-storage-plugin-zenodo
87+ pip install snakemake-storage-plugin-http
8588
8689 - name : Run analysis
87- uses : snakemake/snakemake-github-action@v1
90+ uses : snakemake/snakemake-github-action@v2
8891 with :
8992 directory : " ."
9093 snakefile : " workflow/Snakefile"
9194 args : >
92- --cores 2 --use- conda --conda-cleanup-pkgs cache
95+ --cores 2 --sdm conda --conda-cleanup-pkgs cache --rerun-triggers mtime --all-temp
9396 stagein : |
94- pip install snakemake-storage-plugin-zenodo snakemake-storage-plugin-http
97+ pip install snakemake-storage-plugin-zenodo
98+ pip install snakemake-storage-plugin-http
9599
96100 - name : Create report
97- uses : snakemake/snakemake-github-action@v1
101+ uses : snakemake/snakemake-github-action@v2
98102 with :
99103 directory : " ."
100104 snakefile : " workflow/Snakefile"
101105 args : " --report report.zip"
102106 stagein : |
103- pip install snakemake-storage-plugin-zenodo snakemake-storage-plugin-http
107+ pip install snakemake-storage-plugin-zenodo
108+ pip install snakemake-storage-plugin-http
104109
105110 - name : Upload report as artifact
106111
107- uses : actions/upload-artifact@v3
112+ uses : actions/upload-artifact@v4
108113 with :
109114 name : report
110115 path : report.zip
0 commit comments