ci: add workflow to run wp plugin checks
Some checks failed
CI / unit-test (5.6) (push) Successful in 1m3s
CI / unit-test (7.4) (push) Successful in 59s
CI / unit-test (8.0) (push) Successful in 57s
CI / unit-test (8.1) (push) Successful in 58s
CI / unit-test (8.2) (push) Successful in 1m0s
CI / unit-test (8.3) (push) Successful in 52s
CI / quality (push) Successful in 52s
Plugin check / check (push) Failing after 38s

This commit is contained in:
2024-10-03 14:39:47 +02:00
parent fbb8229c3e
commit 2837e3d9a9
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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: Package plugin
run: |
mkdir -p ./dist
rsync -rc --exclude-from=.distignore ./ ./dist/statify-blacklist --delete --delete-excluded
- name: Check WP plugin
uses: wordpress/plugin-check-action@v1
with:
build-dir: ./dist/statify-blacklist