Skip to content
Open
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: 3 additions & 3 deletions .github/workflows/ack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
# uses: ansible/team-devtools/.github/workflows/ack.yml@main
# secrets: inherit
ack:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
issues: write
pull-requests: write
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
- uses: amannn/action-semantic-pull-request@66e72920af32222769c386d81f89656ebcb6d6d5 # v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: auto-add labels
if: github.event.issue.labels.length == 0
uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7
uses: release-drafter/release-drafter@d1a19e60e81a7e650d00a7de9277f87e439117ea # v7
with:
# we only want to use the auto-labeler bits:
disable-autolabeler: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:

jobs:
ack:
uses: ansible/team-devtools/.github/workflows/push.yml@a7f2500fb428f217418c6c39c016319cd76df408 # main
uses: ansible/team-devtools/.github/workflows/push.yml@9abf88e3a631b3247360b66c1ae9b15d841bee6d # main
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
pypi:
name: Publish ${{ github.event.release.tag_name || '<testing>' }} to pypi.org
environment: release
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
id-token: write
steps:
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0

- name: Check out src from Git
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0 # needed by setuptools-scm
submodules: true
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Attach dists to the release
if: github.event_name == 'release'
# cspell: ignore softprops
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3
with:
name: ${{ github.event.release.tag_name }}
files: dist/*
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
jobs:
prepare:
name: prepare
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
checks: read
outputs:
Expand All @@ -41,7 +41,7 @@ jobs:

- name: Determine matrix
id: generate_matrix
uses: ansible/actions/matrix@96828a1bedeacf72afaf583aa9fd1003e5a34cb5 # v1
uses: ansible/actions/matrix@b2b0657c2e1d083cf979eba2fd04ae79e5ab3900 # v1
with:
min_python: "3.11"
default_python: |
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
# needed by tox -e docs to produce changelog
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0 # needed by setuptools-scm
submodules: true
Expand All @@ -130,11 +130,11 @@ jobs:
&& sudo apt-get install -y libvirt-dev zsh

- name: Install mise
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4
uses: jdx/mise-action@3277a0f272901982804abc53abd93520db809be4 # v5

- name: Set up Python ${{ matrix.python_version || '3.11' }}
if: "!contains(matrix.shell, 'wsl')"
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
cache: pip
python-version: ${{ matrix.python_version || '3.11' }}
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:

- name: Archive logs
if: always()
uses: ansible/actions/upload-artifact@9048781436578c05be457b94e2fc7981c67674b5 # main
uses: ansible/actions/upload-artifact@68034bad3754a448ac112b1db0ce855f8e1e9e97 # main
with:
name: logs-${{ matrix.name }}.zip
include-hidden-files: true
Expand Down Expand Up @@ -201,19 +201,19 @@ jobs:

steps:
# checkout needed for codecov action which needs codecov.yml file
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Set up Python # likely needed for coverage
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: "3.14"
python-version: "3.15"

- run: pip3 install 'coverage>=7.5.1'
if: ${{ needs.build.result != 'skipped' }}

- name: Merge logs into a single archive
if: ${{ needs.build.result != 'skipped' }}
uses: actions/upload-artifact/merge@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
uses: actions/upload-artifact/merge@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: logs.zip
include-hidden-files: true
Expand All @@ -223,28 +223,28 @@ jobs:

- name: Download artifacts
if: ${{ needs.build.result != 'skipped' }}
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
continue-on-error: true # to allow rerunning this job
with:
name: logs.zip
path: .

- name: Upload coverage data
if: ${{ needs.build.result != 'skipped' }}
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7
with:
name: ${{ matrix.name }}
# verbose: true # optional (default = false)
fail_ci_if_error: true
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }} # cspell:ignore oidc

- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # release/v1
with:
jobs: ${{ toJSON(needs) }}

- name: Delete Merged Artifacts
uses: actions/upload-artifact/merge@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
uses: actions/upload-artifact/merge@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
include-hidden-files: true
delete-merged: true
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: check-useless-excludes
priority: 0
- repo: https://github.com/ansible/actions
rev: v1.1.0
rev: v1.1.2
hooks:
- id: toml
priority: 0
Expand All @@ -35,7 +35,7 @@ repos:
- id: renovate-config-validator
priority: 0
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.2
rev: 0.13.10
hooks:
- id: uv-sync
- id: uv-lock
Expand All @@ -44,7 +44,7 @@ repos:
args: ["--upgrade"]
stages: [manual]
- repo: https://github.com/biomejs/pre-commit
rev: "v2.4.9"
rev: "v2.6.9"
hooks:
- id: biome-check
name: biome
Expand Down
2 changes: 1 addition & 1 deletion packages/mk-pre/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies = [
pre = "mk_pre.pre:PreTool"

[build-system]
requires = ["uv_build>=0.11.2,<0.12.0"]
requires = ["uv_build>=0.13.10,<0.14.0"]
build-backend = "uv_build"
Loading
Loading