WP plugin check #128
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: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [ check_website_links ] | |
# Automatic run disabled | |
# 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/plugin-check-action@main | |
with: | |
build-dir: ${{ runner.temp }}/lumiere-movies | |
exclude-directories: 'vendor,.wordpress-org' | |