Skip to content

Commit

Permalink
Fix Roave BC Check ownership issue
Browse files Browse the repository at this point in the history
Error: fatal: detected dubious ownership in repository at '/github/workspace'
Solved with: Running Roave BC check via composer require
  • Loading branch information
youwe-petervanderwal committed May 27, 2024
1 parent 6b26a58 commit f6e9dae
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
stack-version: 7.4.1

- uses: actions/checkout@v2
with:
fetch-depth: 0 # This is needed for Roave BC check

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -58,11 +60,8 @@ jobs:
- name: PHPUnit tests
run: vendor/bin/phpunit tests

roave_bc_check:
name: Roave BC Check
runs-on: ubuntu-latest
- name: Install roave/backward-compatibility-check.
run: composer require -W --dev roave/backward-compatibility-check --no-plugins

steps:
- uses: actions/checkout@v2
- name: Roave BC Check
uses: docker://nyholm/roave-bc-check-ga
- name: Run roave/backward-compatibility-check.
run: vendor/bin/roave-backward-compatibility-check --format=github-actions

0 comments on commit f6e9dae

Please sign in to comment.