Add .github/workflows/catalog.yml #89
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
# On push, run the action-wporg-validator workflow. | |
name: Lint and Test | |
on: [push] | |
jobs: | |
validate-readme-spacing: | |
name: Validate README Spacing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pantheon-systems/validate-readme-spacing@v1 | |
wporg-validation: | |
name: WP.org Validator | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: WP.org Validator | |
uses: pantheon-systems/action-wporg-validator@1.0.0 | |
with: | |
type: plugin | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Lint | |
run: | | |
composer install | |
composer lint |