From 6f1e1d069e98c201403bf86b744ff171783f7338 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Wed, 3 Apr 2024 00:45:08 -0300 Subject: [PATCH 1/2] Test using memcached --- .github/workflows/coding-quality.yml | 2 +- .github/workflows/coding-standards.yml | 2 +- .github/workflows/unit-test.yml | 7 ++----- CHANGELOG.md | 6 ++++++ 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coding-quality.yml b/.github/workflows/coding-quality.yml index dce22c0..58d56b7 100644 --- a/.github/workflows/coding-quality.yml +++ b/.github/workflows/coding-quality.yml @@ -13,4 +13,4 @@ jobs: code-quality: uses: alleyinteractive/.github/.github/workflows/php-code-quality.yml@main with: - php: '8.2' + php: '8.3' diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 4adcf4e..9911a80 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -13,4 +13,4 @@ jobs: coding-standards: uses: alleyinteractive/.github/.github/workflows/php-coding-standards.yml@main with: - php: '8.2' + php: '8.3' diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 721ba73..c823180 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -5,18 +5,15 @@ on: branches: - develop pull_request: - # Uncomment and edit the following to run on a schedule. - # schedule: - # - cron: '30 5 * * 0' # Run once per week at 5:30am UTC on Sundays. jobs: php-tests: strategy: matrix: - php: [8.1, 8.2] + php: [8.1, 8.2, 8.3] wordpress: ["latest"] + object-cache: "memcached" uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main with: - database: '' php: ${{ matrix.php }} wordpress: ${{ matrix.wordpress }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ad19eb..5adb920 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog All notable changes to `WP 404 Caching` will be documented in this file. + +## 1.0.4 Unpublished + +- Github Action: add support for the memcached service; +- Github Action: test against PHP 8.3 + ## 1.0.3 - Added `caching_enabled` method to be able to check the `wp_404_caching_enabled` filter later in methods where it is needed. From a6ffebe772e3a1811e45458c908651c0e014ae24 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Wed, 3 Apr 2024 00:49:11 -0300 Subject: [PATCH 2/2] Put in the right place --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index c823180..6fb4273 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,8 +12,8 @@ jobs: matrix: php: [8.1, 8.2, 8.3] wordpress: ["latest"] - object-cache: "memcached" uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main with: php: ${{ matrix.php }} wordpress: ${{ matrix.wordpress }} + object-cache: "memcached"