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
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:
parent
fbb8229c3e
commit
2837e3d9a9
@ -1,7 +1,9 @@
|
||||
/.git
|
||||
/.github
|
||||
/assets
|
||||
/dist
|
||||
/test
|
||||
/vendor
|
||||
/.distignore
|
||||
/.editorconfig
|
||||
/.gitattributes
|
||||
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,5 +1,6 @@
|
||||
/.github export-ignore
|
||||
/assets export-ignore
|
||||
/dist export-ignore
|
||||
/test export-ignore
|
||||
.distignore export-ignore
|
||||
.gitattributes export-ignore
|
||||
|
21
.github/workflows/wordpress-plugin-check.yml
vendored
Normal file
21
.github/workflows/wordpress-plugin-check.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user