Skip to content

Commit a676a1d

Browse files
Update GitHub Actions versions and add dependabot configuration
Co-authored-by: RonnyPfannschmidt <156838+RonnyPfannschmidt@users.noreply.github.com>
1 parent ce9441a commit a676a1d

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
pre-commit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-python@v4
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
1414
with:
1515
python-version: 3.x
16-
- uses: pre-commit/action@v2.0.3
16+
- uses: pre-commit/action@v3.0.1

.github/workflows/pythonapp.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
runs-on: ubuntu-latest
1717
name: Python sdist/wheel
1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-python@v4
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-python@v5
2121
with:
2222
python-version: "3.10"
2323
- name: Install dependencies
@@ -27,7 +27,7 @@ jobs:
2727
2828
- name: Build package
2929
run: python -m build -o dist/
30-
- uses: actions/upload-artifact@v3
30+
- uses: actions/upload-artifact@v4
3131
with:
3232
name: dist
3333
path: dist
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
# todo: extract from source
41-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev"]
41+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
4242
install-from: ["dist/*.whl"]
4343
include:
4444
- python-version: "3.10"
@@ -48,17 +48,17 @@ jobs:
4848
- python-version: "3.10"
4949
install-from: "dist/*.tar.gz"
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5252
- name: Set up Python ${{ matrix.python-version }}
53-
uses: actions/setup-python@v4
53+
uses: actions/setup-python@v5
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
- name: Install dependencies
5757
run: |
5858
python -m pip install --upgrade pip
5959
pip install -U setuptools setuptools_scm
6060
pip install pytest
61-
- uses: actions/download-artifact@v3
61+
- uses: actions/download-artifact@v4
6262
with:
6363
name: dist
6464
path: dist
@@ -72,10 +72,10 @@ jobs:
7272
runs-on: ubuntu-latest
7373
needs: [dist]
7474
steps:
75-
- uses: actions/setup-python@v4
75+
- uses: actions/setup-python@v5
7676
with:
7777
python-version: "3.10"
78-
- uses: actions/download-artifact@v3
78+
- uses: actions/download-artifact@v4
7979
with:
8080
name: dist
8181
path: dist
@@ -87,12 +87,12 @@ jobs:
8787
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
8888
needs: [dist_check, test]
8989
steps:
90-
- uses: actions/download-artifact@v3
90+
- uses: actions/download-artifact@v4
9191
with:
9292
name: dist
9393
path: dist
9494
- name: Publish package to PyPI
95-
uses: pypa/gh-action-pypi-publish@master
95+
uses: pypa/gh-action-pypi-publish@release/v1
9696
with:
9797
user: __token__
9898
password: ${{ secrets.pypi_token }}

0 commit comments

Comments
 (0)