Skip to content

Commit 13d0888

Browse files
authored
Update GitHub Actions dependencies/workflows (#16)
* Update GitHub Actions dependencies/workflows This PR updates some dependencies and options for the GitHub Actions release workflows. * make scripts consistent
1 parent 7d86fdd commit 13d0888

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/pulls.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ on: pull_request
55
jobs:
66
pytest:
77
runs-on: ubuntu-latest
8-
container: python:3.12
98
steps:
109
- name: Checkout repo
11-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1211
- name: Install dependencies
13-
run: pip install -e .; pip install pytest
12+
run: |
13+
python -m pip install -e .
14+
python -m pip install pytest
1415
- name: Run pytest
1516
run: pytest

.github/workflows/pypi-upload.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ on:
66

77
jobs:
88
build-and-publish:
9-
runs-on: ubuntu-20.04
10-
container: python:3.12
9+
runs-on: ubuntu-latest
1110
steps:
12-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1312
with:
1413
ref: ${{ github.event.release.tag_name }}
1514
- name: Install pypa/build
16-
run: python -m pip install build --user
15+
run: python -m pip install build
1716
- name: Build wheel & source tarball
1817
run: python -m build --sdist --wheel --outdir dist/ .
1918
- name: Publish to PyPI

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
update_release_draft:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: release-drafter/release-drafter@v5
17+
- uses: release-drafter/release-drafter@v6
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)