ci: add workflow to run wp plugin checks
All checks were successful
CI / unit-test (5.6) (push) Successful in 1m4s
CI / unit-test (8.1) (push) Successful in 1m0s
CI / unit-test (7.4) (push) Successful in 1m3s
CI / unit-test (8.0) (push) Successful in 1m2s
CI / unit-test (8.2) (push) Successful in 1m3s
CI / unit-test (8.3) (push) Successful in 51s
CI / quality (push) Successful in 54s
All checks were successful
CI / unit-test (5.6) (push) Successful in 1m4s
CI / unit-test (8.1) (push) Successful in 1m0s
CI / unit-test (7.4) (push) Successful in 1m3s
CI / unit-test (8.0) (push) Successful in 1m2s
CI / unit-test (8.2) (push) Successful in 1m3s
CI / unit-test (8.3) (push) Successful in 51s
CI / quality (push) Successful in 54s
This commit is contained in:
parent
96214d55a0
commit
96cd17c3e2
@ -1,7 +1,9 @@
|
|||||||
/.git
|
/.git
|
||||||
/.github
|
/.github
|
||||||
/assets
|
/assets
|
||||||
|
/dist
|
||||||
/test
|
/test
|
||||||
|
/vendor
|
||||||
/.distignore
|
/.distignore
|
||||||
/.editorconfig
|
/.editorconfig
|
||||||
/.gitattributes
|
/.gitattributes
|
||||||
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,5 +1,6 @@
|
|||||||
/.github export-ignore
|
/.github export-ignore
|
||||||
/assets export-ignore
|
/assets export-ignore
|
||||||
|
/dist export-ignore
|
||||||
/test export-ignore
|
/test export-ignore
|
||||||
.distignore export-ignore
|
.distignore export-ignore
|
||||||
.gitattributes export-ignore
|
.gitattributes export-ignore
|
||||||
|
22
.github/workflows/wordpress-plugin-check.yml
vendored
Normal file
22
.github/workflows/wordpress-plugin-check.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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
|
||||||
|
tail -n +6 README.md > README.md.tmp && mv README.md.tmp README.md
|
||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user