From ee99aea9f95965ba88a8c674a1ee214b514b5071 Mon Sep 17 00:00:00 2001 From: Syndesi Date: Tue, 10 Dec 2024 17:40:05 +0100 Subject: [PATCH] Change GitHub action runner version from `latest` to `2404`, closes #353. --- .../ci-check-upstream-dependency-alpine.yml | 2 +- ...i-check-upstream-dependency-nginx-unit.yml | 2 +- .../ci-check-upstream-dependency-php.yml | 2 +- .github/workflows/ci-release-package.yml | 8 +++---- .github/workflows/ci-test.yml | 24 +++++++++---------- CHANGELOG.md | 1 + 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci-check-upstream-dependency-alpine.yml b/.github/workflows/ci-check-upstream-dependency-alpine.yml index af8c0e18..4e597843 100644 --- a/.github/workflows/ci-check-upstream-dependency-alpine.yml +++ b/.github/workflows/ci-check-upstream-dependency-alpine.yml @@ -8,7 +8,7 @@ jobs: check-upstream-dependency-alpine: name: 'Check upstream dependency Alpine' timeout-minutes: 5 - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repo diff --git a/.github/workflows/ci-check-upstream-dependency-nginx-unit.yml b/.github/workflows/ci-check-upstream-dependency-nginx-unit.yml index f628d35d..71d9ab5f 100644 --- a/.github/workflows/ci-check-upstream-dependency-nginx-unit.yml +++ b/.github/workflows/ci-check-upstream-dependency-nginx-unit.yml @@ -8,7 +8,7 @@ jobs: check-upstream-dependency-nginx-unit: name: 'Check upstream dependency NGINX Unit' timeout-minutes: 5 - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repo diff --git a/.github/workflows/ci-check-upstream-dependency-php.yml b/.github/workflows/ci-check-upstream-dependency-php.yml index 3bad4929..dea16690 100644 --- a/.github/workflows/ci-check-upstream-dependency-php.yml +++ b/.github/workflows/ci-check-upstream-dependency-php.yml @@ -8,7 +8,7 @@ jobs: check-upstream-dependency-php: name: 'Check upstream dependency PHP' timeout-minutes: 5 - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repo diff --git a/.github/workflows/ci-release-package.yml b/.github/workflows/ci-release-package.yml index 29077f18..8b1344d2 100644 --- a/.github/workflows/ci-release-package.yml +++ b/.github/workflows/ci-release-package.yml @@ -11,7 +11,7 @@ jobs: checkout-repo-and-bump-version: - runs-on: buildjet-2vcpu-ubuntu-2204 + runs-on: buildjet-2vcpu-ubuntu-2404 name: Check out Repo and Bump Version timeout-minutes: 10 steps: @@ -68,7 +68,7 @@ jobs: build-docker-image-amd: - runs-on: buildjet-4vcpu-ubuntu-2204 + runs-on: buildjet-4vcpu-ubuntu-2404 name: Build Docker Image - AMD timeout-minutes: 20 needs: checkout-repo-and-bump-version @@ -130,7 +130,7 @@ jobs: build-docker-image-arm: - runs-on: buildjet-4vcpu-ubuntu-2204-arm + runs-on: buildjet-4vcpu-ubuntu-2404-arm name: Build Docker Image - ARM timeout-minutes: 20 needs: checkout-repo-and-bump-version @@ -192,7 +192,7 @@ jobs: publish-release: - runs-on: buildjet-2vcpu-ubuntu-2204 + runs-on: buildjet-2vcpu-ubuntu-2404 name: Publish release timeout-minutes: 10 needs: [build-docker-image-amd, build-docker-image-arm] diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index e50d4161..22776a02 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -6,7 +6,7 @@ on: jobs: yml-lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'YML lint' timeout-minutes: 3 steps: @@ -15,7 +15,7 @@ jobs: - run: docker run --rm -t -v $(pwd):/data cytopia/yamllint --config-file=tests/.yamllint . markdown-lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'Markdown lint' timeout-minutes: 3 steps: @@ -24,7 +24,7 @@ jobs: - run: docker run --rm -v $(pwd):/work tmknom/markdownlint '**/*.md' --config tests/.markdownlintrc --ignore vendor --ignore CHANGELOG.md --ignore var --ignore tmp build-docker-image: - runs-on: buildjet-4vcpu-ubuntu-2204 + runs-on: buildjet-4vcpu-ubuntu-2404 name: 'Build Docker Image' timeout-minutes: 20 needs: @@ -67,7 +67,7 @@ jobs: retention-days: 7 cs-lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'CS Lint' timeout-minutes: 5 needs: @@ -85,7 +85,7 @@ jobs: docker run -v $(pwd):/var/www/html api:dev-amd sh -c "composer install --ignore-platform-req=php --quiet && PHP_CS_FIXER_IGNORE_ENV=1 composer cs:list" psalm: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'Psalm' timeout-minutes: 5 needs: @@ -103,7 +103,7 @@ jobs: docker run -v $(pwd):/var/www/html api:dev-amd sh -c "composer install --ignore-platform-req=php --quiet && composer psalm" phpstan: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'Phpstan' timeout-minutes: 5 needs: @@ -121,7 +121,7 @@ jobs: docker run -v $(pwd):/var/www/html api:dev-amd sh -c "composer install --ignore-platform-req=php --quiet && composer phpstan" test-unit: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'Unit Test' timeout-minutes: 5 needs: @@ -139,7 +139,7 @@ jobs: docker run -v $(pwd):/var/www/html api:dev-amd sh -c "composer install --ignore-platform-req=php --quiet && composer test:unit" test-mutant: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'Mutant Test' timeout-minutes: 5 needs: @@ -158,7 +158,7 @@ jobs: docker run -v $(pwd):/var/www/html api:dev-amd sh -c "composer install --ignore-platform-req=php --quiet && composer test:mutant" test-mess-detector: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: 'Mess Detector' timeout-minutes: 5 needs: @@ -177,7 +177,7 @@ jobs: docker run -v $(pwd):/var/www/html api:dev-amd sh -c "composer install --ignore-platform-req=php --quiet && composer mess" test-feature: - runs-on: buildjet-4vcpu-ubuntu-2204 + runs-on: buildjet-4vcpu-ubuntu-2404 name: 'Feature Test' timeout-minutes: 15 needs: @@ -221,7 +221,7 @@ jobs: docker exec ember-nexus-api-dev bash -c "export API_DOMAIN=\"http://ember-nexus-api-prod\" && echo \$API_DOMAIN && composer install --ignore-platform-req=php --quiet && composer test:feature && composer test:feature:deprecated" test-example-generation-controller: - runs-on: buildjet-2vcpu-ubuntu-2204 + runs-on: buildjet-2vcpu-ubuntu-2404 name: 'Controller Example Generation Test' timeout-minutes: 15 needs: @@ -260,7 +260,7 @@ jobs: test-example-generation-command: - runs-on: buildjet-2vcpu-ubuntu-2204 + runs-on: buildjet-2vcpu-ubuntu-2404 name: 'Command Example Generation Test' timeout-minutes: 15 needs: diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a91283..068c52fd 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased ### Changed - Upgrade to Alpine 3.21, closes #350. +- Change GitHub action runner version from `latest` to `2404`, closes #353. ## 0.1.16 - 2024-11-06 ### Added