Skip to content

Merge pull request #43 from pagemachine/ci-matrix-job-names #765

Merge pull request #43 from pagemachine/ci-matrix-job-names

Merge pull request #43 from pagemachine/ci-matrix-job-names #765

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 7 * * *'
workflow_dispatch:
jobs:
build:
name: 'PHP ${{ matrix.php }}'
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
steps:
- uses: actions/checkout@v4
- name: Build
env:
PHP_VERSION: ${{matrix.php}}
run: docker-compose run --rm app composer build
- name: Cleanup
if: ${{ always() }}
run: docker-compose down --volumes