Update vimeo/psalm requirement from ^5.7 to ^5.24 #26
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: Tests | |
# This event setting prevents Github Actions from running twice when a pull request occurs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [7.4, 8.0, 8.1] | |
steps: | |
- name: Clone a repository | |
uses: actions/checkout@v4 | |
- name: Install PHP ${{ matrix.php }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install dependencies with Composer | |
uses: ramsey/composer-install@v2 | |
- name: Run module tests | |
run : vendor/bin/phpunit | |
- name: Run code style checking | |
run : vendor/bin/phpcs | |
- name: Run a static analysis tool | |
run : vendor/bin/psalm |