add prepare missing wpdb / improve sql security #288
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: Quality | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@v1 | |
- name: "Check code quality" | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Check coding standards | |
run: composer cs | |
- name: Check coding standards | |
run: composer psalm |