Skip to content

Merge pull request #216 from alma/release/v5.3.0 #188

Merge pull request #216 from alma/release/v5.3.0

Merge pull request #216 from alma/release/v5.3.0 #188

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
lint:
name: Lint code
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install taskfile.dev
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ github.token }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer:v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Lint
run: task lint
test:
name: Run tests
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install taskfile.dev
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ github.token }}
- name: Run PHPUnit tests with coverage
run: task test