Skip to content

Commit

Permalink
fix(actions): update setup-miniconda to v3 (#202)
Browse files Browse the repository at this point in the history
* fix(actions): update setup-miniconda to v3

* update_with_parameters

---------

Co-authored-by: Naman Priyadarshi <[email protected]>
  • Loading branch information
Naman-Priyadarshi and Naman Priyadarshi authored Feb 8, 2024
1 parent 01870a3 commit 6786a92
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ jobs:
steps:
- uses: actions/checkout@v3
{% if cookiecutter.use_conda == "yes" %}
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
mamba-version: "1.*"
miniforge-version: latest
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
channel-priority: true
activate-environment: {{ cookiecutter.project_slug }}
use-mamba: true
miniforge-variant: Mambaforge
auto-update-conda: true
conda-solver: libmamba
{% else %}

- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ jobs:
- uses: actions/checkout@v3
{% if cookiecutter.use_conda == "yes" %}

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
mamba-version: "1.*"
miniforge-version: latest
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
channel-priority: true
activate-environment: {{ cookiecutter.project_slug }}
use-mamba: true
miniforge-variant: Mambaforge
auto-update-conda: true
conda-solver: libmamba
{% else %}

- uses: actions/setup-python@v4
with:
python-version: "pypy3.9"
Expand Down

0 comments on commit 6786a92

Please sign in to comment.