Skip to content

Use annotated target 1.1 #16

Use annotated target 1.1

Use annotated target 1.1 #16

Workflow file for this run

name: 'Unit Tests & Static Analysis'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
continuous-integration:
runs-on: ubuntu-latest
env:
XDEBUG_MODE: coverage
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:2
- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Composer Install
run: composer install
- name: PHPUnit
run: ./vendor/bin/phpunit
- name: Psalm
run: ./vendor/bin/psalm