From c6b19f2d2ec436a8c1b03b93c7785b0bfd4dbdac Mon Sep 17 00:00:00 2001 From: Rob Skilling Date: Tue, 18 Mar 2025 14:51:30 +0000 Subject: [PATCH 1/3] Remove version from composer.json This isn't where we manage version info. --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 3f2194a..ae2f936 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,6 @@ "name": "dxw/wordpress-plugin-template", "homepage": "https://github.com/dxw/wordpress-plugin-template", "type": "wordpress-plugin", - "version": "0.1.0", "license": "MIT", "config": { "platform": { From 54c5d2cf382d469e94ae866dd7be257b50fd332e Mon Sep 17 00:00:00 2001 From: Rob Skilling Date: Tue, 18 Mar 2025 14:54:28 +0000 Subject: [PATCH 2/3] Use v4 of cache action v2 is deprecated. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27bdbf4..b318f51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: id: composer-cache run: | echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -42,7 +42,7 @@ jobs: id: composer-cache run: | echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -66,7 +66,7 @@ jobs: id: composer-cache run: | echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} From 11dd3d0fdefeead215b849452420085caeac094d Mon Sep 17 00:00:00 2001 From: Rob Skilling Date: Tue, 18 Mar 2025 14:55:25 +0000 Subject: [PATCH 3/3] Run CI in Ubuntu 24.04 20.04 is deprecated. --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b318f51..b1603ad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,9 +4,9 @@ on: push jobs: kahlan: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: - matrix: + matrix php-versions: ['8.2'] steps: - uses: actions/checkout@v2 @@ -28,7 +28,7 @@ jobs: run: composer install --no-interaction - run: vendor/bin/kahlan psalm: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: php-versions: ['8.2'] @@ -52,7 +52,7 @@ jobs: run: composer install --no-interaction - run: vendor/bin/psalm php-cs-fixer: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: php-versions: ['8.2']