Skip to content

Add Github Action

Add Github Action #3

Workflow file for this run

name: PHP Composer
on: [push]
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Lint
run: composer pint -- --test
- name: Run test suite
run: composer phpunit