From b6941b427881f379ad91f06bca7f4e81dc867a08 Mon Sep 17 00:00:00 2001 From: Rob Skilling Date: Thu, 20 Feb 2025 10:30:06 +0000 Subject: [PATCH 1/2] Use major tags for workflow actions We were pinned to v4.0.2 of the cache workflow. This has been deprecated, so our workflow started failing. Let's use major version tags to avoid that happening. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 936ebe6..c1a445b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: name: PHP ${{ matrix.php-versions }} steps: - name: Checkout - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -23,7 +23,7 @@ jobs: id: composer-cache run: | echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v4.0.2 + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} From 54a32eb271f449000f5a4cebf8204f27bef31e2c Mon Sep 17 00:00:00 2001 From: Rob Skilling Date: Thu, 20 Feb 2025 11:45:11 +0000 Subject: [PATCH 2/2] Run CI on Ubuntu 24.04 20.04 is being decommissioned. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1a445b..634ae48 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: push jobs: run: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: php-versions: ['7.4', '8.0', '8.1', '8.2']