Skip to content

Commit 3fca4c0

Browse files
committed
build(lint.yml): install dep with environment-dev.yaml file
1 parent aa7dd95 commit 3fca4c0

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/lint.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,18 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- uses: actions/setup-python@v5
23+
- name: Setup Miniconda
24+
uses: conda-incubator/setup-miniconda@v3
2425
with:
25-
python-version: "3.11"
26+
activate-environment: ci-env
27+
environment-file: environment.yaml
28+
auto-activate-base: false
29+
use-mamba: true
30+
mamba-version: "*"
2631

27-
- run: python -m pip install --upgrade pip
28-
- run: pip install ruff black mypy
32+
- name: Add dev dependencies
33+
shell: bash -l {0}
34+
run: conda env update -n ci-env -f environment-dev.yaml
2935

3036
- run: ruff check .
3137
- run: black --check .

0 commit comments

Comments
 (0)