From 01c07476e393aa219558b1f39db6343596f993a3 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sun, 12 Nov 2023 09:25:41 +0700 Subject: [PATCH] Enable BC test --- .github/workflows/bc.yml | 23 +++++++++++++++++++++++ .github/workflows/bc.yml_ | 15 --------------- 2 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/bc.yml delete mode 100644 .github/workflows/bc.yml_ diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml new file mode 100644 index 0000000..5970206 --- /dev/null +++ b/.github/workflows/bc.yml @@ -0,0 +1,23 @@ +on: + pull_request: + paths: + - 'src/**' + - '.github/workflows/bc.yml' + - 'composer.json' + push: + branches: ['master'] + paths: + - 'src/**' + - '.github/workflows/bc.yml' + - 'composer.json' + +name: backwards compatibility + +jobs: + roave_bc_check: + uses: yiisoft/actions/.github/workflows/bc.yml@master + with: + os: >- + ['ubuntu-latest'] + php: >- + ['8.1'] diff --git a/.github/workflows/bc.yml_ b/.github/workflows/bc.yml_ deleted file mode 100644 index 35b3a86..0000000 --- a/.github/workflows/bc.yml_ +++ /dev/null @@ -1,15 +0,0 @@ -on: - - pull_request - - push - -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