Skip to content

Commit a208974

Browse files
committed
ci: update workflows with latest action versions
1 parent e73a7d6 commit a208974

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/ci-tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,27 @@ on:
1818

1919
jobs:
2020
build:
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-22.04
2222
strategy:
2323
matrix:
2424
python_version: [
25-
3.9, # only lowest & highest version should be enough, :cross_fingers:
26-
# 3.10,
27-
# '3.11',
28-
'3.12'
29-
# pypy3 # didn't build on CI anymore, happy for help: https://github.com/gis-ops/routing-py/issues/60
25+
'3.9',
26+
'3.10',
27+
'3.11',
28+
'3.12',
29+
'3.13'
30+
# pypy3 # didn't build on CI anymore, happy for help: https://github.com/mthh/routingpy/issues/60
3031
]
3132
steps:
32-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3334

3435
- name: Set up Python ${{ matrix.python_version }}
3536
uses: actions/setup-python@v4
3637
with:
3738
python-version: ${{ matrix.python_version }}
3839
cache: pip
3940

40-
- uses: actions/cache@v3
41+
- uses: actions/cache@v4
4142
with:
4243
path: ~/.cache/pre-commit
4344
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/publish-tags.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99

1010
jobs:
1111
build_wheels:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up Python 3.10
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v4
1818
with:
1919
python-version: "3.10"
2020

@@ -24,7 +24,7 @@ jobs:
2424
python -m build --wheel
2525
2626
- name: Upload wheels
27-
uses: actions/upload-artifact@v2
27+
uses: actions/upload-artifact@v4
2828
with:
2929
path: dist/*.whl
3030

@@ -39,12 +39,12 @@ jobs:
3939
python-version: "3.10"
4040

4141
- name: Download artifact
42-
uses: actions/download-artifact@v2
42+
uses: actions/download-artifact@v4
4343
with:
4444
name: artifact
4545
path: dist
4646

4747
- uses: pypa/gh-action-pypi-publish@v1.4.2
4848
with:
49-
user: nilsnolde
49+
user: mthh
5050
password: ${{ secrets.PYPI_PASS }}

0 commit comments

Comments
 (0)