From 6c00dd87923d75172ebee4f86cc588351c099708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 20 Aug 2023 03:51:54 +0200 Subject: [PATCH] Ditch action in favor of running tool directly (#231) --- .github/workflows/continuous-integration.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 06b4220..11befd5 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -14,11 +14,20 @@ jobs: 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 + - uses: "actions/checkout@v3" + with: + fetch-depth: 0 + + - name: Install PHP with extensions. + uses: shivammathur/setup-php@v2 + with: + php-version: "8.2" + + - name: Install roave/backward-compatibility-check. + run: composer require --dev roave/backward-compatibility-check + + - name: Run roave/backward-compatibility-check. + run: vendor/bin/roave-backward-compatibility-check phpunit: name: "PHPUnit"