.github/workflows/main.yml
name: PHP CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Install
run: make install
- name: Run linter
run: make lint