Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: pre-commit/action@v2.0.3
- uses: pre-commit/action@v3.0.1
24 changes: 12 additions & 12 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
runs-on: ubuntu-latest
name: Python sdist/wheel
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -27,7 +27,7 @@ jobs:

- name: Build package
run: python -m build -o dist/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
# todo: extract from source
python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
install-from: ["dist/*.whl"]
include:
- python-version: "3.10"
Expand All @@ -48,17 +48,17 @@ jobs:
- python-version: "3.10"
install-from: "dist/*.tar.gz"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm
pip install pytest
- uses: actions/download-artifact@v3
pip install "pytest<9"
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand All @@ -72,10 +72,10 @@ jobs:
runs-on: ubuntu-latest
needs: [dist]
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand All @@ -87,12 +87,12 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
needs: [dist_check, test]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_token }}