Skip to content

Commit

Permalink
update conda for gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Jan 7, 2025
1 parent 511b255 commit f37ef6b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
persist-credentials: false

- name: Setup Miniconda using Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
auto-update-conda: true
activate-environment: ccc-dev
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/check_jupyterbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniconda-version: "latest"
auto-update-conda: true
activate-environment: ccc-dev
environment-file: environment.yml
python-version: 3.12
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy_jupyterbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
miniconda-version: "latest"
auto-update-conda: true
activate-environment: ccc-dev
environment-file: environment.yml
python-version: 3.12
Expand Down

0 comments on commit f37ef6b

Please sign in to comment.