seatplus/esi-client

View on GitHub
.github/workflows/formats.yml

Summary

Maintainability
Test Coverage
name: Formats

on:
  push:
    paths:
      - '**.php'

jobs:
  ci:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Setup PHP
        uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
        with:
          php-version: '8.3'

      - name: Install Composer dependencies
        run: composer update --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

      - name: Coding Style Checks
        run: composer test:lint

      - name: Type Checks
        run: composer test:types

      - name: Type Coverage Checks
        run: composer test:type-coverage