Skip to content

Commit f37ef6b

Browse files
committed
update conda for gh actions
1 parent 511b255 commit f37ef6b

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
persist-credentials: false
1818

1919
- name: Setup Miniconda using Python ${{ matrix.python-version }}
20-
uses: conda-incubator/setup-miniconda@v2
20+
uses: conda-incubator/setup-miniconda@v3
2121
with:
22+
miniconda-version: "latest"
23+
auto-update-conda: true
2224
activate-environment: ccc-dev
2325
environment-file: environment.yml
2426
python-version: ${{ matrix.python-version }}

.github/workflows/check_jupyterbook.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010
with:
1111
persist-credentials: false
1212

1313
- name: Setup Miniconda
1414
uses: conda-incubator/setup-miniconda@v2
1515
with:
16-
miniforge-variant: Mambaforge
16+
miniconda-version: "latest"
17+
auto-update-conda: true
1718
activate-environment: ccc-dev
1819
environment-file: environment.yml
1920
python-version: 3.12

.github/workflows/deploy_jupyterbook.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
with:
1414
persist-credentials: false
1515

1616
- name: Setup Miniconda
17-
uses: conda-incubator/setup-miniconda@v2
17+
uses: conda-incubator/setup-miniconda@v3
1818
with:
19-
miniforge-variant: Mambaforge
19+
miniconda-version: "latest"
20+
auto-update-conda: true
2021
activate-environment: ccc-dev
2122
environment-file: environment.yml
2223
python-version: 3.12

0 commit comments

Comments
 (0)