Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be consistent in GHA names, only use Setup, remove Set up or Install #6766

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
- name: Check out repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Install NodeJS
- name: Set up NodeJS
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
with:
node-version: "20"

- name: Install Prettier
- name: Set up Prettier
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a install step

Suggested change
- name: Set up Prettier
- name: Install Prettier

run: npm install -g [email protected]

- name: Run Prettier --check
Expand All @@ -64,7 +64,7 @@ jobs:
with:
node-version: "20"

- name: Install editorconfig-checker
- name: Set up editorconfig-checker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up editorconfig-checker
- name: Install editorconfig-checker

run: npm install -g editorconfig-checker

- name: Run ECLint check
Expand Down Expand Up @@ -163,18 +163,18 @@ jobs:
restore-keys: |
${{ runner.os }}-pip

- name: Install pip
- name: Set up pip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up pip
- name: Update pip

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we actually need this step anymore

run: python -m pip install --upgrade pip

- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4
with:
distribution: "temurin"
java-version: "17"

- name: Setup Nextflow
- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2

- name: Install nf-core tools development version
- name: Set up nf-core tools development version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up nf-core tools development version
- name: Install nf-core tools development version

run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev

- name: Lint module ${{ matrix.tags }}
Expand All @@ -201,18 +201,18 @@ jobs:
with:
python-version: "3.11"

- name: Install pip
- name: Set up pip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up pip
- name: Update pip

run: python -m pip install --upgrade pip

- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4
with:
distribution: "temurin"
java-version: "17"

- name: Setup Nextflow
- name: Set up Nextflow
uses: nf-core/setup-nextflow@561fcfc7146dcb12e3871909b635ab092a781f34 # v2

- name: Install nf-core tools development version
- name: Set up nf-core tools development version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up nf-core tools development version
- name: Install nf-core tools development version

run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev

- name: Lint module ${{ matrix.tags }}
Expand Down Expand Up @@ -413,19 +413,19 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-pytest

- name: Install Python dependencies
- name: Set up Python dependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up Python dependencies
- name: Install Python dependencies

run: python -m pip install --upgrade pip pytest-workflow cryptography

- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4
with:
distribution: "temurin"
java-version: "17"
- name: Setup Nextflow ${{ matrix.NXF_VER }}
- name: Set up Nextflow ${{ matrix.NXF_VER }}
uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"

- name: Setup apptainer
- name: Set up apptainer
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-apptainer@main

Expand All @@ -442,7 +442,7 @@ jobs:
channels: conda-forge,bioconda
python-version: ${{ matrix.python-version }}

- name: Conda setup
- name: Set up Conda
run: |
conda clean -a
conda install -n base conda-libmamba-solver
Comment on lines 444 to 448
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this setup step can be removed if we add the conda-solver: to the setup-minoconda step

Expand Down Expand Up @@ -659,15 +659,15 @@ jobs:
with:
distribution: "temurin"
java-version: "17"
- name: Setup Nextflow
- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2

- name: Install nf-test
- name: Set up nf-test
uses: nf-core/setup-nf-test@v1
with:
version: ${{ env.NFTEST_VER }}

- name: Setup apptainer
- name: Set up apptainer
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-apptainer@main

Expand All @@ -690,7 +690,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-pdiff

- name: Install Python dependencies
- name: Set up Python dependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Set up Python dependencies
- name: Install Python dependencies

run: python -m pip install --upgrade pip pdiff cryptography

- name: Set up miniconda
Expand All @@ -701,7 +701,7 @@ jobs:
auto-update-conda: true
channels: conda-forge,bioconda

- name: Conda setup
- name: Set up Conda
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

if: matrix.profile == 'conda'
run: |
conda clean -a
Expand Down
Loading