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
120 changes: 120 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# 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/deploy.yml':
- 'actions/checkout@v7.0.1'
- 'actions/download-artifact@v8.0.2'
- 'hynek/build-and-inspect-python-package@v3.0.1'
- 'pypa/gh-action-pypi-publish@v1.14.2'
'.github/workflows/lint.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
- 'astral-sh/setup-uv@v10.3.0'
- 'j178/prek-action@v3.0.1'
'.github/workflows/main.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
- 'codecov/codecov-action@v7.1.1'
- 'hynek/setup-cached-uv@v2.6.0'
dependencies:
'actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373':
ref: 'v4.1.1'
commit: 'sha1-0f67c3f4856b2e3261c31976d6725780e5e4c373'
owner_id: 44036562
repo_id: 760702757
uses:
- 'actions/attest@a1948c3f048ba23858d222213b7c278aabede763'
'actions/attest@a1948c3f048ba23858d222213b7c278aabede763':
ref: 'v4.1.1'
commit: 'sha1-a1948c3f048ba23858d222213b7c278aabede763'
owner_id: 44036562
repo_id: 760701061
'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
ref: 'v6.1.0'
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
owner_id: 44036562
repo_id: 215566462
'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/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd':
ref: 'v8.0.0'
commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd'
owner_id: 44036562
repo_id: 205262760
'actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97':
ref: 'v7.0.0'
commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
owner_id: 44036562
repo_id: 192625525
'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
ref: 'v6.2.0'
commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
owner_id: 44036562
repo_id: 192625525
'actions/setup-python@v7.0.0':
ref: 'v7.0.0'
commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
owner_id: 44036562
repo_id: 192625525
'actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a':
ref: 'v7.0.1'
commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
owner_id: 44036562
repo_id: 192625955
'astral-sh/setup-uv@v10.3.0':
ref: 'v10.3.0'
commit: 'sha1-1c37ad07a6a961277cf70c0d37d6f313000f5884'
owner_id: 115962839
repo_id: 846733598
'codecov/codecov-action@v7.1.1':
ref: 'v7.1.1'
commit: 'sha1-303a32d7a59b442fa8d48b6a1cc6825c09c847a5'
owner_id: 8226205
repo_id: 200299178
uses:
- 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd'
'gacts/run-and-post-run@598d7a875d5620e0457490555b5e18e46082aa47':
ref: 'v1.4.4'
commit: 'sha1-598d7a875d5620e0457490555b5e18e46082aa47'
owner_id: 56696274
repo_id: 617991574
'hynek/build-and-inspect-python-package@v3.0.1':
ref: 'v3.0.1'
commit: 'sha1-2abe76da66d0a6a4a227101f9348ee855797cfa5'
owner_id: 41240
repo_id: 526525235
uses:
- 'actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373'
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
- 'actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97'
- 'actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
'hynek/setup-cached-uv@v2.6.0':
ref: 'v2.6.0'
commit: 'sha1-34e35d30f1ebc7421a5cc733bca38dcc62603960'
owner_id: 41240
repo_id: 779953216
uses:
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
- 'gacts/run-and-post-run@598d7a875d5620e0457490555b5e18e46082aa47'
'j178/prek-action@v3.0.1':
ref: 'v3.0.1'
commit: 'sha1-1382ad72dea72f9d53832f2bcb65b3e87a947204'
owner_id: 10510431
repo_id: 1052387486
'pypa/gh-action-pypi-publish@v1.14.2':
ref: 'v1.14.2'
commit: 'sha1-dc37677b2e1c63e2034f94d8a5b11f265b73ba33'
owner_id: 647025
repo_id: 178055147
uses:
- 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- uses: hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
- uses: hynek/build-and-inspect-python-package@v3.0.1

# Publish to Test PyPI on every commit on main.
release-test-pypi:
Expand All @@ -42,13 +42,13 @@ jobs:

steps:
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
uses: actions/download-artifact@v8.0.2
with:
name: Packages
path: dist

- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
uses: pypa/gh-action-pypi-publish@v1.14.2
with:
repository-url: https://test.pypi.org/legacy/

Expand All @@ -67,10 +67,10 @@ jobs:

steps:
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
uses: actions/download-artifact@v8.0.2
with:
name: Packages
path: dist

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
uses: pypa/gh-action-pypi-publish@v1.14.2
24 changes: 19 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,34 @@ permissions: {}

env:
FORCE_COLOR: 1

RUFF_OUTPUT_FORMAT: github

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@v7.0.0
with:
python-version: "3.x"
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: j178/prek-action@1382ad72dea72f9d53832f2bcb65b3e87a947204 # v3.0.1
- uses: astral-sh/setup-uv@v10.3.0
- uses: j178/prek-action@v3.0.1
- run: uv pip compile pyproject.toml --output-file requirements.txt
- run: uvx safety check --file requirements.txt

# Fails when .github/workflows/actions.lock is out of sync with the
# workflows or a locked pin no longer verifies upstream.
lockfile:
runs-on: ubuntu-slim
env:
GH_TOKEN: ${{ github.token }}

steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- run: gh extension install github/gh-actions-lock --pin v0.4.1
- run: gh actions-lock --verify
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ jobs:
os: [windows-latest, macos-latest, ubuntu-latest]

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7.0.1
with:
# fetch all branches and tags
# ref actions/checkout#448
fetch-depth: 0
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@v7.0.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install uv
uses: hynek/setup-cached-uv@34e35d30f1ebc7421a5cc733bca38dcc62603960 # v2.6.0
uses: hynek/setup-cached-uv@v2.6.0

- name: Run tests
run: uvx --with tox-uv tox -e py

- name: Upload coverage
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
uses: codecov/codecov-action@v7.1.1
with:
flags: ${{ matrix.os }}
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.10
rev: v0.17.4
hooks:
- id: ruff-check
args: [--exit-non-zero-on-fix]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.10.0
rev: 26.10.1
hooks:
- id: black

Expand All @@ -25,7 +25,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.38.2
rev: 0.39.0
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand All @@ -36,7 +36,7 @@ repos:
- id: actionlint

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v2.4.0
rev: v2.4.1
hooks:
- id: mypy
args:
Expand All @@ -50,22 +50,22 @@ repos:
additional_dependencies: ["types-requests"]

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.30.1
rev: v1.32.0
hooks:
- id: zizmor

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.30.1
rev: v2.30.6
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: '0.26'
rev: 'v0.27'
hooks:
- id: validate-pyproject

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.9.0
rev: 1.10.2
hooks:
- id: tox-ini-fmt

Expand Down
Loading