Skip to content

ci(nf-test): align actions/checkout SHA across pipeline workflows - #1848

Merged
pinin4fjords merged 1 commit into
devfrom
fix/ci-hygiene-1847
May 8, 2026
Merged

ci(nf-test): align actions/checkout SHA across pipeline workflows#1848
pinin4fjords merged 1 commit into
devfrom
fix/ci-hygiene-1847

Conversation

@pinin4fjords

Copy link
Copy Markdown
Member

Summary

Closes #1847 (Task 1 only — see "Task 2 status" below).

Bumps actions/checkout in the pipeline-specific nf-test workflows so all three workflows use the same SHA-pinned v6 that the template-derived nf-test.yml already pins:

  • .github/workflows/nf-test-arm.yml (lines 43, 93): v5v6 (de0fac2e4500dabe0009e67214ff5f5447ce83dd)
  • .github/workflows/nf-test-gpu.yml (lines 40, 85): v4v6 (same SHA)
  • .github/workflows/nf-test.yml: unchanged (already v6, template-owned)

No other action drift between the three workflows: the shared composite actions (./.github/actions/get-shards, ./.github/actions/nf-test) cover nf-core/setup-nextflow, actions/setup-python, nf-core/setup-nf-test, eWaterCycle/setup-apptainer, conda-incubator/setup-miniconda, so all three callers get identical pins.

Task 2 status (snapshot timestamp stripping)

The original issue proposed a second task: strip the timestamp field from saved tests/*.nf.test.snap files via an nf-test.config snapshot.exclude option, with a fallback of post-processing if no such option exists. I checked the nf-test 0.9.5 source: SnapshotFileItem hardcodes timestamp via DateTimeFormatter.ISO_DATE_TIME.format(LocalDateTime.now()) and SnapshotFile#createJsonGenerator only excludes mapping from the JSON output. There is no config-level option today, and no upstream issue tracking one. The post-processing fallback (jq/python strip) would diverge from what nf-test writes on every regen and adds maintenance burden, so I'm not pursuing it here.

Task 2 is therefore deferred. Will follow up with an upstream feature request against askimed/nf-test and link it from #1847 once it's filed.

Test plan

  • Run nf-test on ARM workflow runs green on this PR (exercises the new actions/checkout@v6 SHA).
  • Run GPU nf-tests workflow runs green on this PR.
  • Run nf-test (CPU) workflow runs green — sanity check, unchanged.

Bumps actions/checkout in nf-test-arm.yml (v5) and nf-test-gpu.yml (v4)
to the same SHA used by the template-derived nf-test.yml (v6,
de0fac2e4500dabe0009e67214ff5f5447ce83dd). nf-test.yml unchanged.

Refs #1847.
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit e0ae77f

+| ✅ 202 tests passed       |+
#| ❔  21 tests were ignored |#
!| ❗   7 tests had warnings |!
Details

❗ Test warnings:

  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 4.0.2
  • Run at 2026-05-08 11:00:38

@pinin4fjords
pinin4fjords merged commit 9606be0 into dev May 8, 2026
15 checks passed
@pinin4fjords
pinin4fjords deleted the fix/ci-hygiene-1847 branch May 8, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI / test-infra hygiene: align checkout versions and strip snapshot timestamps

2 participants