This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
Bump WP Coding Standards Dependency from ^2.3 → ^3.0 #21
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
# This is the main Continuous Integration (CI) pipeline for the the stellarwp/coding-standards package. | |
# | |
# Any time code is pushed to one of the main branches or a PR is opened, this pipeline should be | |
# run to ensure everything still works as designed and meets our coding standards. | |
name: CI Pipeline | |
# Execute on pushes to develop or main, as well as all PRs. | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
jobs: | |
# Mmm, that's some good dog food! | |
coding-standards: | |
name: Coding standards | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure PHP environment | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
extensions: mbstring | |
coverage: none | |
- name: Validate composer.json | |
run: composer validate | |
- uses: ramsey/composer-install@v2 | |
- name: Check coding standards | |
run: composer test |