fix: Prevent false prices + actual bugfix of normalization (#350) #896
Workflow file for this run
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: PHP tests | |
on: [push, pull_request] | |
jobs: | |
phplint: | |
name: PHP Syntax check 7.2|7.3|8.2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: PHP Lint 7.2 | |
uses: dbfx/github-phplint/7.2@master | |
with: | |
folder-to-exclude: "! -path \"./vendor/*\"" | |
- name: PHP Lint 7.3 | |
uses: dbfx/github-phplint/7.3@master | |
with: | |
folder-to-exclude: "! -path \"./vendor/*\"" | |
- name: PHP Lint 8.2 | |
uses: dbfx/github-phplint/8.2@master | |
with: | |
folder-to-exclude: "! -path \"./vendor/*\"" | |
phpcs: | |
name: WordPress and WooCommerce PHP code standards compliance check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # important! | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
command: install | |
- name: Standards Compliance check | |
run: ./vendor/bin/phpcs |