Merge pull request #85 from TomHAnderson/feature/types-connection-node-2 #7
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: "Static analysis" | |
on: | |
pull_request: | |
branches: | |
- "*.x" | |
- "main" | |
push: | |
branches: | |
- "*.x" | |
- "main" | |
jobs: | |
psalm: | |
name: "Static Analysis" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Execute tests (Unit and Feature tests) via PHPUnit | |
run: vendor/bin/psalm |