Skip to content

Commit 858abcd

Browse files
committed
refactor(workflows): update GitHub Actions and OS versions in workflows
Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 826fcc1 commit 858abcd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
os: [ubuntu-latest, windows-latest, macos-latest]
2727
runs-on: ${{ matrix.os }}
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v5
3030
- name: Install uv
31-
uses: astral-sh/setup-uv@v2
31+
uses: astral-sh/setup-uv@v7
3232
with:
3333
enable-cache: true
3434
cache-dependency-glob: "uv.lock"

.github/workflows/pypi-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,38 @@ on:
1010
jobs:
1111
build_dist:
1212
name: Build source distribution
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Build SDist and wheel
2020
run: pipx run build
2121

22-
- uses: actions/upload-artifact@v4
22+
- uses: actions/upload-artifact@v5
2323
with:
2424
name: artifact
2525
path: dist/*
2626

2727
- name: Check metadata
2828
run: pipx run twine check dist/*
2929
publish:
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-24.04
3131
if: github.event_name == 'push'
3232
needs: [ build_dist ]
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535
with:
3636
fetch-depth: 0
3737
- name: Set up Python
38-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@v6
3939
with:
4040
python-version: "3.11"
4141
cache: 'pip'
4242
- name: Install build dependencies
4343
run: pip install -U setuptools wheel build
44-
- uses: actions/download-artifact@v4
44+
- uses: actions/download-artifact@v5
4545
with:
4646
# unpacks default artifact into dist/
4747
# if `name: artifact` is omitted, the action will create extra parent dir

0 commit comments

Comments
 (0)