From f11a71cd7071dd48df9aa0d821d70da9caaff07a Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:58:15 +0100 Subject: [PATCH] Switch to the new GitHub Actions runner groups To update to Ubuntu 24.04, and to prevent the rate limit issues mentioned here: https://github.com/heroku/buildpacks-go/pull/283 I've not added the run image pre-pulling step used by some of the other CNB repos, since this repo doesn't currently use a matrix to test builder image versions, and instead varies the builder test by test, which (a) means I'd have to hardcode a list, (b) means that the benefit is less. See also: https://salesforce.quip.com/bu6UA0KImOxJ#temp:C:GZR57becb9df8d94f80b132168fd https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md GUS-W-16238120. --- .github/workflows/check_changelog.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check_changelog.yml b/.github/workflows/check_changelog.yml index c0cc43b7..e528aae0 100644 --- a/.github/workflows/check_changelog.yml +++ b/.github/workflows/check_changelog.yml @@ -9,7 +9,7 @@ permissions: jobs: check-changelog: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: (!contains(github.event.pull_request.labels.*.name, 'skip changelog')) steps: - name: Checkout diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e8ce0c1..79214a93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: jobs: lint: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -29,7 +29,7 @@ jobs: run: cargo fmt -- --check unit-test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -41,7 +41,7 @@ jobs: run: cargo test --locked integration-test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -60,7 +60,7 @@ jobs: run: cargo test --locked -- --ignored print-pack-getting-started-output: - runs-on: ${{ matrix.target == 'aarch64-unknown-linux-musl' && 'pub-hk-ubuntu-22.04-arm-medium' || 'ubuntu-latest' }} + runs-on: ${{ matrix.target == 'aarch64-unknown-linux-musl' && 'pub-hk-ubuntu-24.04-arm-medium' || 'ubuntu-24.04' }} strategy: matrix: target: ["aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl"] @@ -97,7 +97,7 @@ jobs: run: pack build my-image --force-color --builder heroku/builder:24 --buildpack heroku/nodejs-engine --buildpack packaged/${{ matrix.target }}/debug/heroku_ruby --path tmp/ruby-getting-started --pull-policy never print-style-guide: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4