Update deps and github config #4
This file contains hidden or 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: CI | |
on: [push, pull_request] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: php-actions/composer@v6 | |
- name: Set up PHP | |
run: sudo apt-get update && sudo apt-get install -y php-sockets | |
- name: Phpstan | |
uses: php-actions/phpstan@v3 | |
with: | |
path: src/ | |
- name: Psalm | |
uses: docker://ghcr.io/psalm/psalm-github-actions | |
- name: PHPUnit tests | |
uses: graychen/[email protected] | |
with: | |
config: phpunit.xml |