Skip to content

Commit

Permalink
CI: Configured code quality test (#6)
Browse files Browse the repository at this point in the history
Configured the PHP Code Sniffer for code quality test

Resolves task: CI/CD: Configure workflows (#6)
  • Loading branch information
fet1sov authored Jun 27, 2024
1 parent 928d0f2 commit 7acaa48
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,19 @@ jobs:

- name: Check PHP syntax errors
uses: overtrue/phplint@9.1.2

code-quality-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Composer install
uses: php-actions/composer@v6

- name: PHP Code Sniffer
uses: php-actions/phpcs@v1
with:
php_version: 8.2
path: www/
standard: phpcs.xml

0 comments on commit 7acaa48

Please sign in to comment.