diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 53f95bf..2557a8c 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -1,15 +1,21 @@ +name: backwards compatibility + on: pull_request: + paths: &paths + - 'src/**' + - '.github/workflows/bc.yml' + - 'composer.json' push: + branches: ['master'] + paths: *paths + +permissions: + contents: read -name: backwards compatibility jobs: roave_bc_check: - name: Roave BC Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: fetch tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga + uses: yiisoft/actions/.github/workflows/bc.yml@master + with: + php: >- + ['8.1']