Skip to content

Commit 75e1351

Browse files
authored
Merge pull request #148 from brian-rose/micromamba
Use micromamba to install full environment
2 parents c01e3fd + b64b2cb commit 75e1351

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/link-checker.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: false
99
default: 'cookbook-dev'
1010
type: string
11-
environment_file: # Ignored! Just here for backwards compatibility
11+
environment_file:
1212
description: 'Name of conda environment file'
1313
required: false
1414
default: 'environment.yml'
@@ -43,13 +43,10 @@ jobs:
4343
steps:
4444
- uses: actions/checkout@v4
4545

46-
- name: Setup Miniforge
47-
uses: conda-incubator/setup-miniconda@v3
46+
- name: Setup environment with micromamba
47+
uses: mamba-org/setup-micromamba@v2
4848
with:
49-
miniforge-version: latest
50-
51-
- name: Install Jupyterbook
52-
run: conda install -c conda-forge jupyter-book "python<3.13" # see https://github.com/ProjectPythia/cookbook-actions/issues/126
49+
environment-file: ${{ inputs.environment_file }}
5350

5451
- name: Check for config file
5552
id: check_config

0 commit comments

Comments
 (0)