Skip to content

Commit

Permalink
update github actions (#430)
Browse files Browse the repository at this point in the history
* update pdm

* update miniconda

* follow v3 example

* revert

* keep mamba

* update to v3

---------

Co-authored-by: Benjamin Morris <[email protected]>
  • Loading branch information
benjijamorris and Benjamin Morris authored Oct 2, 2024
1 parent 29be28d commit 2ad80a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/make-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: pdm-project/setup-pdm@v3
with:
python-version: "3.10"
version: 2.8.2
version: 2.18.1

- name:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PDM
uses: pdm-project/setup-pdm@v2
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
python-version: [3.9, "3.10"]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniconda-version: latest
python-version: ${{ matrix.python-version }}
use-mamba: true

Expand Down Expand Up @@ -69,12 +68,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniconda-version: latest
python-version: "3.10"

- name: Install dependencies
Expand Down

0 comments on commit 2ad80a5

Please sign in to comment.