Bump crate-ci/typos from 1.35.7 to 1.40.0 #45
Workflow file for this run
This file contains hidden or 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: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/ci.yml" | |
| - "**.php" | |
| - "composer.json" | |
| - "composer.lock" | |
| - "phpcs.xml.dist" | |
| - "phpstan.neon.dist" | |
| - "phpunit.xml.dist" | |
| types: [ready_for_review, synchronize, opened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| typo: | |
| runs-on: ubuntu-latest | |
| name: Typo | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Check spelling | |
| uses: crate-ci/typos@v1.40.0 | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: Lint | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: "7.4" | |
| - name: Install PHP dependencies | |
| uses: ramsey/composer-install@v3 | |
| - name: Analyze source code | |
| run: composer lint | |
| analyze: | |
| runs-on: ubuntu-latest | |
| name: Analyze | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: "7.4" | |
| - name: Install PHP dependencies | |
| uses: ramsey/composer-install@v3 | |
| - name: Analyze source code | |
| run: composer analyze | |
| test: | |
| needs: [typo, lint, analyze] | |
| runs-on: ubuntu-latest | |
| name: Test | |
| strategy: | |
| fail-fast: true | |
| max-parallel: 3 | |
| matrix: | |
| php-version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"] | |
| dependencies: [lowest, highest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP for test | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| - name: Install PHP dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: ${{ matrix.dependencies }} | |
| - name: Run test | |
| run: vendor/bin/phpunit --coverage-clover coverage.xml | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |