Skip to content

Commit

Permalink
ci: Add renovate comments to version in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 18, 2024
1 parent af43264 commit c1a8c7e
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/actions/nf-test-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ runs:

- name: Setup Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "${{ env.NXF_VERSION }}"

- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
Expand All @@ -33,7 +35,7 @@ runs:
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: "0.9.2"
version: "${{ env.NFTEST_VERSION }}"
install-pdiff: true

- name: Setup apptainer
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ concurrency:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NFT_VER: "0.9.2"
# renovate: datasource=github-releases depName=askimed/nf-test versioning=semver
NFTEST_VERSION: "0.9.2"
NXF_ANSI_LOG: false
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
NXF_VER: "24.10.1"
# renovate: datasource=github-releases depName=nextflow-io/nextflow versioning=semver
NXF_VERSION: "24.10.1"

jobs:
nf-test-gpu:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ env:
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# renovate: datasource=github-releases depName=nextflow/nextflow versioning=semver
NXF_VER: "24.10.1"

jobs:
pre-commit:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/nf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ concurrency:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NFT_VER: "0.9.2"
# renovate: datasource=github-releases depName=askimed/nf-test versioning=semver
NFTEST_VERSION: "0.9.2"
NXF_ANSI_LOG: false
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
NXF_VER: "24.10.1"
# renovate: datasource=github-releases depName=nextflow/nextflow versioning=semver
NXF_VERSION: "24.10.1"

jobs:
nf-test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pytest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ env:
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# renovate: datasource=github-releases depName=nextflow-io/nextflow versioning=semver
NXF_VERSION: "24.10.1"

jobs:
pytest-changes:
Expand Down Expand Up @@ -263,6 +265,8 @@ jobs:

- name: Setup Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: ${{ env.NXF_VERSION }}

- name: Setup apptainer
if: matrix.profile == 'singularity'
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/wave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ on:
# TODO Skip testing CI if any changes to environment.yml

env:
WAVE_VER: "1.5.0"
NFTEST_VER: "0.9.1"
# renovate: datasource=github-releases depName=seqeralabs/wave-cli versioning=semver
WAVE_VERSION: "1.5.0"
# renovate: datasource=github-releases depName=askimed/nf-test versioning=semver
NFTEST_VERSION: "0.9.1"
# renovate: datasource=github-releases depName=nextflow/nextflow versioning=semver
NXF_VERSION: "24.10.1"

jobs:
generate-matrix:
Expand Down Expand Up @@ -62,8 +66,8 @@ jobs:

- name: Install wave-cli
run: |
wget -q https://github.com/seqeralabs/wave-cli/releases/download/v${WAVE_VER}/wave-${WAVE_VER}-linux-x86_64
sudo mv wave-${WAVE_VER}-linux-x86_64 /usr/local/bin/wave
wget -q https://github.com/seqeralabs/wave-cli/releases/download/v${WAVE_VERSION}/wave-${WAVE_VERSION}-linux-x86_64
sudo mv wave-${WAVE_VERSION}-linux-x86_64 /usr/local/bin/wave
chmod +x /usr/local/bin/wave
- name: Build ${{ matrix.profile }} container
Expand Down Expand Up @@ -98,8 +102,8 @@ jobs:

- name: Install wave-cli
run: |
wget -q https://github.com/seqeralabs/wave-cli/releases/download/v${WAVE_VER}/wave-${WAVE_VER}-linux-x86_64
sudo mv wave-${WAVE_VER}-linux-x86_64 /usr/local/bin/wave
wget -q https://github.com/seqeralabs/wave-cli/releases/download/v${WAVE_VERSION}/wave-${WAVE_VERSION}-linux-x86_64
sudo mv wave-${WAVE_VERSION}-linux-x86_64 /usr/local/bin/wave
chmod +x /usr/local/bin/wave
- name: Create a registry name
Expand Down Expand Up @@ -139,7 +143,7 @@ jobs:

# - uses: nf-core/setup-nf-test@v1
# with:
# version: ${{ env.NFTEST_VER }}
# version: ${{ env.NFTEST_VERSION }}

# - name: Bump Snapshot Versions
# env:
Expand Down

0 comments on commit c1a8c7e

Please sign in to comment.