Fix campfire #1468
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
all-php-versions: | |
name: PHP ${{ matrix.php }} | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ["8.1", "8.2", "8.3"] | |
uses: ./.github/workflows/main-php-matrix.yml | |
with: | |
php: ${{ matrix.php }} | |
secrets: inherit | |
codestyle: | |
name: Code Style checks | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP and tools | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.2 | |
tools: php-cs-fixer:3.49 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run PHP-CS-Fixer | |
run: php-cs-fixer fix --dry-run --diff --ansi | |
shellcheck: | |
name: ShellCheck | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
uses: ludeeus/[email protected] |