ignoring useless phpcs warnings #109
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: 'WP plugin check' | |
on: | |
push: | |
branches: "*" | |
pull_request: | |
jobs: | |
standard: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build plugin | |
run: | | |
mv ./dist ${{ runner.temp }}/lumiere-movies | |
- name: "Cache extensions" | |
uses: actions/cache@v4 | |
with: | |
path: ${{ runner.temp }}/lumiere-movies | |
key: ${{ runner.temp }}/lumiere-movies | |
restore-keys: ${{ runner.temp }}/lumiere-movies | |
- name: Run plugin check | |
uses: wordpress/[email protected] | |
with: | |
build-dir: ${{ runner.temp }}/lumiere-movies | |
exclude-directories: 'vendor,.wordpress-org' | |