From e4b2086d2f2622805f96b492b76412370913cafe Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Sun, 24 Nov 2024 21:23:47 -0500 Subject: [PATCH] Update CI runners to use Ubuntu 24.04 --- .github/workflows/build.yml | 6 +++--- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/pr-labeler.yml | 2 +- .github/workflows/pre-commit-updater.yml | 2 +- .github/workflows/release-drafter.yml | 2 +- .github/workflows/scorecard.yml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a4e73b..fc539da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -61,7 +61,7 @@ jobs: build: needs: lint - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write strategy: @@ -130,7 +130,7 @@ jobs: publish-to-pypi: name: Publish to PyPI (release only) needs: build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: id-token: write if: ${{ github.event_name == 'release' }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8250f29..6869bcc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -15,7 +15,7 @@ permissions: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: read contents: read diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index e908a47..34f1f84 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -14,7 +14,7 @@ permissions: jobs: dependency-review: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 1a7c2ee..2e27b32 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -10,7 +10,7 @@ jobs: pr-labeler: permissions: pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: "!contains(github.event.head_commit.message, 'skip ci')" steps: - name: Harden Runner diff --git a/.github/workflows/pre-commit-updater.yml b/.github/workflows/pre-commit-updater.yml index 5e47fc8..2a2de99 100644 --- a/.github/workflows/pre-commit-updater.yml +++ b/.github/workflows/pre-commit-updater.yml @@ -11,7 +11,7 @@ jobs: updater: name: Update - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index a056cb2..3323640 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -12,7 +12,7 @@ jobs: permissions: contents: write # for release-drafter/release-drafter to create a github release pull-requests: write # for release-drafter/release-drafter to add label to PR - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: "!contains(github.event.head_commit.message, 'skip ci')" steps: # Drafts your next Release notes as Pull Requests are merged into "main" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index f78531b..1e389cf 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -12,7 +12,7 @@ permissions: read-all jobs: analysis: name: Scorecard analysis - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: # Needed to upload the results to code-scanning dashboard. security-events: write