Skip to content

Commit

Permalink
CI - replace test data caching with git clone fetch-depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sateeshperi committed Jun 21, 2023
1 parent 179bf77 commit 91f1b4e
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,13 @@ jobs:
- name: Check out pipeline code
uses: actions/checkout@v3

- name: Hash Github Workspace
id: hash_workspace
run: |
echo "digest=$(echo ampliseq_2.6_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
- name: Cache test data
id: cache-testdata
uses: actions/cache@v3
with:
path: test-datasets/
key: ${{ steps.hash_workspace.outputs.digest }}

- name: Check out test data
if: steps.cache-testdata.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: nf-core/test-datasets
ref: ampliseq
path: test-datasets/
fetch-depth: 1

- name: Replace remote paths in samplesheets
run: |
Expand Down

0 comments on commit 91f1b4e

Please sign in to comment.