
name: "Continuous Integration"

on:
  pull_request:
    branches:
      - "*.x"
  push:
    branches:
      - "*.x"

jobs:
  roave_bc_check:
    name: "Roave BC Check"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: fetch tags
        run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
      - name: Roave BC Check
        uses: docker://nyholm/roave-bc-check-ga

  phpunit:
    name: "PHPUnit"
    uses: "doctrine/.github/.github/workflows/continuous-integration.yml@2.1.0"
    with:
      php-versions: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'
