Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

strategy:
matrix:
php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']

name: "Lint: PHP ${{ matrix.php_version }}"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
wp_version: 'latest'
multisite: true

- php_version: '8.5'
wp_version: 'latest'
multisite: false

name: "Integration Test: PHP ${{ matrix.php_version }} | WP ${{ matrix.wp_version }}${{ matrix.multisite == true && ' (+ ms)' || '' }}"

# Allow builds to fail on as-of-yet unreleased WordPress versions.
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/plugin-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ jobs:
with:
php-version: '8.3'
coverage: none
tools: wp-cli
# A pinned release archive, not the mutable latest-build URL: when
# that download fails, setup-php only logs "Could not setup wp-cli"
# and the job dies later with "wp: command not found".
tools: wp-cli:2.12.0
env:
fail-fast: true

# setup-php stores the ephemeral Actions token in ~/.composer/auth.json
# as a github-oauth credential. Composer rejects that token whenever it
Expand All @@ -37,6 +42,9 @@ jobs:
- name: Install latest version of dist-archive-command
run: |
rm -f "$(composer config --global home 2>/dev/null)/auth.json"
# Without a token Composer may fall back to cloning over SSH, and
# the runner has no key. HTTPS works for this public repository.
git config --global url."https://github.com/".insteadOf "git@github.com:"
wp package install wp-cli/dist-archive-command:v3.1.0

- name: Build plugin
Expand Down
Loading