minor updates for v1.8.x #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Plugin check | |
on: | |
push: | |
branches: [ 'stable', 'release/*' ] | |
pull_request: | |
branches: [ 'stable' ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: composer | |
- name: Build | |
run: composer install --no-interaction | |
- name: Package plugin | |
run: | | |
mkdir -p ./dist | |
rsync -rc --exclude-from=.distignore ./ ./dist/statify --delete --delete-excluded | |
- name: Check WP plugin | |
uses: wordpress/plugin-check-action@v1 | |
with: | |
build-dir: ./dist/statify |