diff --git a/.github/workflows/phplint.yml b/.github/workflows/phplint.yml new file mode 100644 index 00000000..f62cee0e --- /dev/null +++ b/.github/workflows/phplint.yml @@ -0,0 +1,16 @@ +name: PHP Linting +on: + pull_request: + branches: [master] + push: + branches: [master] + +jobs: + phplint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: overtrue/phplint@7.4 + with: + path: . + options: --exclude=*.log