diff --git a/.changeset/pin-linux-runner.md b/.changeset/pin-linux-runner.md new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/.changeset/pin-linux-runner.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/ai-sync.yml b/.github/workflows/ai-sync.yml index 23c1427..8ed8891 100644 --- a/.github/workflows/ai-sync.yml +++ b/.github/workflows/ai-sync.yml @@ -13,7 +13,7 @@ permissions: jobs: sync-ai: name: Check generated AI instructions - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db4d6f2..6f0042b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ permissions: jobs: trust-check: if: github.event_name == 'pull_request' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: trusted: ${{ steps.check.outputs.trusted }} steps: @@ -49,7 +49,7 @@ jobs: github.event_name == 'pull_request' && needs.trust-check.outputs.trusted == 'true' needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -77,7 +77,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -101,7 +101,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -118,7 +118,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -137,7 +137,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -172,7 +172,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -260,7 +260,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -310,7 +310,7 @@ jobs: && (github.event_name != 'pull_request' || needs.trust-check.outputs.trusted == 'true') needs: [trust-check] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: diff --git a/.github/workflows/cla-request.yml b/.github/workflows/cla-request.yml index 0230fea..e531891 100644 --- a/.github/workflows/cla-request.yml +++ b/.github/workflows/cla-request.yml @@ -15,7 +15,7 @@ permissions: {} jobs: request: name: CLA request - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 2 steps: - run: echo "The CLA Assistant workflow verifies this head." diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 69319be..c5ff9e9 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -10,7 +10,7 @@ permissions: jobs: dependency-review: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 if: github.event.pull_request.draft != true diff --git a/.github/workflows/mutants.yml b/.github/workflows/mutants.yml index 6b26632..814f5cc 100644 --- a/.github/workflows/mutants.yml +++ b/.github/workflows/mutants.yml @@ -21,7 +21,7 @@ concurrency: jobs: mutants: name: cargo-mutants (validation core) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 120 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index c9af985..468d4dc 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -11,7 +11,7 @@ permissions: read-all jobs: scorecard: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read security-events: write diff --git a/scripts/release-workflow.test.ts b/scripts/release-workflow.test.ts index c2d8fe8..daace0a 100644 --- a/scripts/release-workflow.test.ts +++ b/scripts/release-workflow.test.ts @@ -108,6 +108,10 @@ describe("release workflow semantics", () => { ); expect(job("pack-portable")).toContain('manifest.name !== "@stll/stdnum"'); }); + + test("PyPI publishing uses the release-policy runner", () => { + expect(job("publish-pypi")).toContain("runs-on: ubuntu-latest"); + }); }); test("the release reconciler checks the packages the release publishes", () => {