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
52 changes: 52 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.3'
workflows:
'.github/workflows/pypi.yml':
- 'actions/checkout@v7.0.1'
- 'actions/download-artifact@v8.0.2'
- 'actions/upload-artifact@v7.0.2'
- 'pypa/gh-action-pypi-publish@release/v1'
'.github/workflows/python-app.yml':
- 'actions/checkout@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.1.0'
dependencies:
'actions/checkout@v6.1.0':
ref: 'v6.1.0'
commit: 'sha1-d23441a48e516b6c34aea4fa41551a30e30af803'
owner_id: 44036562
repo_id: 197814629
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
'actions/download-artifact@v8.0.2':
ref: 'v8.0.2'
commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
owner_id: 44036562
repo_id: 192626254
'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
ref: 'v6.2.0'
commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
owner_id: 44036562
repo_id: 192625525
'actions/setup-python@v7.1.0':
ref: 'v7.1.0'
commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
owner_id: 44036562
repo_id: 192625525
'actions/upload-artifact@v7.0.2':
ref: 'v7.0.2'
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'pypa/gh-action-pypi-publish@release/v1':
ref: 'release/v1'
commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
owner_id: 647025
repo_id: 178055147
uses:
- 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
19 changes: 12 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,20 @@ on:
required: true
type: boolean

permissions: {}

jobs:
build-pypi:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read # for actions/checkout
container:
image: quay.io/pypa/manylinux_2_28_x86_64
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0 # We need full history for setuptools_scm to figure out version
persist-credentials: false
- name: Set safe directory (work around checkout not doing that properly for containers)
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build sdist (and broken wheel)
Expand All @@ -32,7 +37,7 @@ jobs:
rm -f dist/*.whl
cp wheelhouse/*.whl dist
- name: Store the distribution packages
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.2
with:
name: python-package-distributions
path: dist/
Expand All @@ -41,7 +46,7 @@ jobs:
name: Publish Python distribution to TestPyPI
needs:
- build-pypi
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: ${{ inputs.pushTestPyPi }}

environment:
Expand All @@ -53,7 +58,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v8
uses: actions/download-artifact@v8.0.2
with:
name: python-package-distributions
path: dist/
Expand All @@ -66,7 +71,7 @@ jobs:
name: Publish Python distribution to PyPI
needs:
- build-pypi
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: ${{ inputs.pushPyPi }}

environment:
Expand All @@ -78,7 +83,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v8
uses: actions/download-artifact@v8.0.2
with:
name: python-package-distributions
path: dist/
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,24 @@ on:
pull_request:
branches: [ "master", "develop" ]

permissions:
contents: read
permissions: {}

jobs:
pythontests:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read # for actions/checkout
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"] # 3.11 is the lowest we support, since we want StrEnum
container:
image: problemtools/githubci:latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -48,13 +51,15 @@ jobs:
venv/bin/mypy --non-interactive --config-file mypy.ini --exclude '^tests/data/' tests/

packages: # Use a separate job to test debian packaging to speed things up (no need to test this for every python version above)
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read # for actions/checkout
container:
image: problemtools/githubci:latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v6.1.0
with:
submodules: true
persist-credentials: false
- name: Set safe directory (work around checkout not doing that properly for containers)
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build debian packages
Expand Down