mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-18 22:38:00 -05:00
31 lines
873 B
YAML
31 lines
873 B
YAML
name: PHP Linting
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
phplint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: PHP Lint 8.0
|
|
uses: dbfx/github-phplint/8.0@master
|
|
with:
|
|
folder-to-exclude: "! -path \"./vendor/*\" ! -path \"./folder/excluded/*\""
|
|
- name: PHP Lint 8.1
|
|
uses: dbfx/github-phplint/8.1@master
|
|
with:
|
|
folder-to-exclude: "! -path \"./vendor/*\" ! -path \"./folder/excluded/*\""
|
|
- name: PHP Lint 8.2
|
|
uses: dbfx/github-phplint/8.2@master
|
|
with:
|
|
folder-to-exclude: "! -path \"./vendor/*\" ! -path \"./folder/excluded/*\""
|
|
- name: PHP Lint 8.3
|
|
uses: dbfx/github-phplint/8.3@master
|
|
with:
|
|
folder-to-exclude: "! -path \"./vendor/*\" ! -path \"./folder/excluded/*\""
|