Code quality assurance #416
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: "Code quality assurance" | |
on: | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
push: | |
branches: | |
- "main" | |
tags: | |
- v* | |
schedule: | |
- cron: "0 8 * * 1" # At 08:00 on Monday | |
env: | |
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.ORGANIZATION_ACCESS_TOKEN }}"}}' | |
jobs: | |
php: | |
name: "PHP Code quality assurance" | |
uses: "fastybird/.github/.github/workflows/php-cs.yaml@main" | |
secrets: inherit | |
with: | |
php: "${{ matrix.php-version }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: [ "8.2" ] | |
operating-system: [ "ubuntu-latest" ] | |
js: | |
name: "JS Code quality assurance" | |
uses: "fastybird/.github/.github/workflows/prettier.yaml@main" | |
secrets: inherit | |
with: | |
node: "${{ matrix.node-version }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ "20" ] | |
operating-system: [ "ubuntu-latest" ] |