diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 0000000..a1b03af --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,7 @@ +# actionlint 1.7.12 does not yet recognize the ubuntu-26.04 or macos-26 +# GitHub-hosted runner labels. This is a validation-only exception so lint +# keeps passing until actionlint ships a release that knows about them. +self-hosted-runner: + labels: + - ubuntu-26.04 + - macos-26 diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index 7924ac1..744c80c 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -12,7 +12,7 @@ permissions: jobs: pull-request-links: - runs-on: ubuntu-22.04 + runs-on: ubuntu-26.04 steps: - uses: readthedocs/actions/preview@v1 with: diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 2187979..be59015 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -16,7 +16,7 @@ jobs: # write permission is required for autolabeler # otherwise, read permission is required at least pull-requests: write - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: release-drafter/release-drafter@v7 env: diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index d22dd45..bacef4d 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,7 +17,7 @@ jobs: build: # only build and deploy docs if the actor is not dependabot if: ${{ github.actor != 'dependabot[bot]' }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-26.04 steps: - name: Checkout uses: actions/checkout@v7 diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 439d75d..d335510 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -9,7 +9,7 @@ on: jobs: publish_pypi: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9a3de0c..1ce5817 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ name: tests jobs: pre_commit_checks: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: # checks out the repo - uses: actions/checkout@v7 @@ -29,7 +29,7 @@ jobs: strategy: matrix: python_version: ["3.11", "3.12", "3.13", "3.14"] - os: [ubuntu-24.04, macos-14] + os: [ubuntu-26.04, macos-26] runs-on: ${{ matrix.os }} env: OS: ${{ matrix.os }} @@ -45,7 +45,7 @@ jobs: - name: Run pytest run: uv run --frozen pytest coverage: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - name: Checkout uses: actions/checkout@v7