Skip to content

Commit

Permalink
chore(ci): Update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Feb 7, 2024
1 parent e4bd043 commit 2473e90
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 31 deletions.
40 changes: 19 additions & 21 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ jobs:
steps:
- uses: actions/checkout@v3

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

- name: Check poetry.lock
run: poetry check

- name: Install dependencies
run: poetry install
Expand Down Expand Up @@ -74,17 +75,14 @@ jobs:

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: poetry install
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ jobs:
steps:
- uses: actions/checkout@v3

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

- name: Install deps
run: poetry install
Expand Down

0 comments on commit 2473e90

Please sign in to comment.