From e9a67200c71f4e24ec522557052e76577397686f Mon Sep 17 00:00:00 2001 From: Steel Wagstaff Date: Sat, 19 Nov 2022 10:07:27 -0800 Subject: [PATCH] Use PHP 8 in translation update actions (#379) * use PHP 8 in translation actions --- .github/workflows/standards-and-tests.yml | 6 +++--- .github/workflows/update-pot.yml | 2 +- .github/workflows/update-translations.yml | 2 +- README.md | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/standards-and-tests.yml b/.github/workflows/standards-and-tests.yml index 1815c46..e21f1c4 100644 --- a/.github/workflows/standards-and-tests.yml +++ b/.github/workflows/standards-and-tests.yml @@ -13,9 +13,9 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] - os: [ubuntu-20.04] - wordpress: [6.1.1, latest] + php: [ 8.0, 8.1 ] + os: [ ubuntu-20.04 ] + wordpress: [ 6.1.1, latest ] include: - experimental: true - experimental: false diff --git a/.github/workflows/update-pot.yml b/.github/workflows/update-pot.yml index fa49f3a..4e29c52 100644 --- a/.github/workflows/update-pot.yml +++ b/.github/workflows/update-pot.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP with tools uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' tools: composer, wp-cli/wp-cli-bundle - name: Update POT file run: wp i18n make-pot . languages/pressbooks-aldine.pot --domain=pressbooks-aldine --slug=pressbooks-aldine --package-name="Aldine" --headers="{\"Report-Msgid-Bugs-To\":\"https://github.com/pressbooks/pressbooks-aldine/issues\"}" diff --git a/.github/workflows/update-translations.yml b/.github/workflows/update-translations.yml index 39e3a66..f174a25 100644 --- a/.github/workflows/update-translations.yml +++ b/.github/workflows/update-translations.yml @@ -18,7 +18,7 @@ jobs: - name: Setup PHP with tools uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' tools: composer, wp-cli/wp-cli-bundle - name: Generate MO files run: wp i18n make-mo languages diff --git a/README.md b/README.md index d275e61..270deb4 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,6 @@ Aldine is the default theme for the home page of [Pressbooks](https://pressbooks * Full release history available at: https://github.com/pressbooks/pressbooks-aldine/releases ## Upgrade Notices - ### Aldine 1.18.0 * Aldine requires PHP >= 8.0 * Aldine requires WordPress >= 6.1.1