Skip to content

Commit a24b42b

Browse files
authored
Merge branch 'dev' into actions
2 parents c3cc602 + 93d36d1 commit a24b42b

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,17 @@ jobs:
3535
with:
3636
version: "${{ matrix.NXF_VER }}"
3737

38+
- name: Hash Github Workspace
39+
id: hash_workspace
40+
run: |
41+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
42+
3843
- name: Cache test data
3944
id: cache-testdata
4045
uses: actions/cache@v3
4146
with:
4247
path: test-datasets/
43-
key: rnaseq3_10-test-data
48+
key: ${{ steps.hash_workspace.outputs.digest }}
4449

4550
- name: Check out test data
4651
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -87,12 +92,17 @@ jobs:
8792
- name: Check out pipeline code
8893
uses: actions/checkout@v2
8994

95+
- name: Hash Github Workspace
96+
id: hash_workspace
97+
run: |
98+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
99+
90100
- name: Cache test data
91101
id: cache-testdata
92102
uses: actions/cache@v3
93103
with:
94104
path: test-datasets/
95-
key: rnaseq3_10-test-data
105+
key: ${{ steps.hash_workspace.outputs.digest }}
96106

97107
- name: Check out test data
98108
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -133,12 +143,17 @@ jobs:
133143
- name: Check out pipeline code
134144
uses: actions/checkout@v2
135145

146+
- name: Hash Github Workspace
147+
id: hash_workspace
148+
run: |
149+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
150+
136151
- name: Cache test data
137152
id: cache-testdata
138153
uses: actions/cache@v3
139154
with:
140155
path: test-datasets/
141-
key: rnaseq3_10-test-data
156+
key: ${{ steps.hash_workspace.outputs.digest }}
142157

143158
- name: Check out test data
144159
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -179,12 +194,17 @@ jobs:
179194
- name: Check out pipeline code
180195
uses: actions/checkout@v2
181196

197+
- name: Hash Github Workspace
198+
id: hash_workspace
199+
run: |
200+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
201+
182202
- name: Cache test data
183203
id: cache-testdata
184204
uses: actions/cache@v3
185205
with:
186206
path: test-datasets/
187-
key: rnaseq3_10-test-data
207+
key: ${{ steps.hash_workspace.outputs.digest }}
188208

189209
- name: Check out test data
190210
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -225,12 +245,17 @@ jobs:
225245
- name: Check out pipeline code
226246
uses: actions/checkout@v2
227247

248+
- name: Hash Github Workspace
249+
id: hash_workspace
250+
run: |
251+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
252+
228253
- name: Cache test data
229254
id: cache-testdata
230255
uses: actions/cache@v3
231256
with:
232257
path: test-datasets/
233-
key: rnaseq3_10-test-data
258+
key: ${{ steps.hash_workspace.outputs.digest }}
234259

235260
- name: Check out test data
236261
if: steps.cache-testdata.outputs.cache-hit != 'true'

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Special thanks to the following for their code contributions to the release:
1515

1616
### Enhancements & fixes
1717

18+
- [[#987](https://github.com/nf-core/rnaseq/pull/987)] - Fix issue with incorrect cacheing of test datasets during CI/CD
1819
- [[#988](https://github.com/nf-core/rnaseq/issues/988)] - `DESEQ2_QC_STAR_SALMON` fails when sample names have many components
1920
- Remove `wait: false` option from Tower Actions which is the default
2021
- Fix release trigger for full-sized multi-cloud tests

0 commit comments

Comments
 (0)