Merge pull request #41 from jamieblomerus/wpcs #12
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: 'WordPress Plugin Check' | |
on: | |
pull_request: | |
push: | |
branches: | |
- trunk | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Composer | |
run: | | |
curl -sS https://getcomposer.org/installer | php | |
mv composer.phar /usr/local/bin/composer | |
- name: Build plugin | |
run: | | |
./build.sh dev | |
mkdir mobile-bankid-integration | |
unzip build-dev.zip -d mobile-bankid-integration | |
- name: Run plugin check | |
uses: wordpress/plugin-check-action@v1 | |
with: | |
build-dir: './mobile-bankid-integration' | |
exclude-directories: 'vendor' | |
exclude-checks: 'plugin_readme' |