PHP Classes

File: .github/workflows/build.yaml

Recommend this page to a friend!
  Packages of Massimiliano Arione   Chess API   .github/workflows/build.yaml   Download  
File: .github/workflows/build.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Chess API
Get chess moves from the chess-api.com Web service
Author: By
Last change:
Date: 17 days ago
Size: 1,727 bytes
 

Contents

Class file image Download
name: Build on: push: branches: - main pull_request: ~ jobs: phpstan: runs-on: ubuntu-24.04 name: PHPStan steps: - name: Checkout uses: actions/checkout@v6 - name: PHPStan uses: docker://oskarstark/phpstan-ga env: REQUIRE_DEV: true with: args: analyse cs-fixer: runs-on: ubuntu-24.04 name: PHP-CS-Fixer steps: - name: Checkout uses: actions/checkout@v6 - name: Fix CS uses: docker://oskarstark/php-cs-fixer-ga with: args: --diff --dry-run tests: runs-on: ubuntu-24.04 strategy: matrix: include: - description: 'Lowest' php: '8.2' dependencies: lowest - description: '8.3' php: '8.3' - description: '8.4' php: '8.4' - description: '8.5' php: '8.5' name: PHP ${{ matrix.php }} tests (${{ matrix.description }}) steps: - name: Checkout uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - name: Install dependencies uses: ramsey/composer-install@v3 with: dependency-versions: ${{ matrix.dependencies }} - name: Run tests run: vendor/bin/phpunit --colors=always