diff --git a/.github/workflows/release-checks.yaml b/.github/workflows/release-checks.yaml index efa69b69d3f6..f5f0aae61c65 100644 --- a/.github/workflows/release-checks.yaml +++ b/.github/workflows/release-checks.yaml @@ -19,7 +19,7 @@ jobs: - name: "Install PHP" uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 with: - php-version: "8.2" + php-version: "8.4" - name: "Rebase PR branch onto main branch" if: github.event.pull_request.user.login != 'release-please[bot]' env: @@ -33,10 +33,7 @@ jobs: exit 1 fi - name: "Install dependencies" - run: | - composer global require "roave/backward-compatibility-check:^8.2" - # TODO: Remove this line after https://github.com/googleapis/google-cloud-php/pull/9697 is merged and released - sed -i.bak 's/return ($this->propertyBased)/return (new ExcludeInternalProperty($this->propertyBased))/' ~/.composer/vendor/roave/backward-compatibility-check/src/DetectChanges/BCBreak/PropertyBased/OnlyPublicPropertyChanged.php + run: composer global require "roave/backward-compatibility-check:^8.22" - name: "Check for BC breaks" if: github.event.pull_request.user.login != 'release-please[bot]' run: |