Skip to content

Commit

Permalink
Github actions changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-nuwber committed Apr 23, 2024
1 parent 8c11739 commit af343f4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# .github/workflows/static-code-analysis.yml
name: Static code analysis

on: [push]

jobs:
static-code-analysis:
container: docker://jakzal/phpqa:php8.2-alpine
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: phpqa
run: phpqa
- name: PhpCS
uses: docker://jakzal/phpqa:php8.2-alpine
with:
args: phpcs --no-interaction --ansi --standard=psr12 --extensions=php --error-severity=1 --warning-severity=8 src
- name: PhpMd
uses: docker://jakzal/phpqa:php8.2-alpine
with:
args: phpmd src
- name: parallel-lint
uses: docker://jakzal/phpqa:php8.2-alpine
with:
args: parallel-lint src

0 comments on commit af343f4

Please sign in to comment.