Skip to content

Commit 68ee725

Browse files
committed
Update PHPUnit GitHub Actions workflow with container options and checkout version
1 parent 8fd2068 commit 68ee725

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/phpunit.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212
jobs:
1313
Build:
1414
runs-on: 'ubuntu-latest'
15-
container: 'byjg/php:${{ matrix.php-version }}-cli'
15+
container:
16+
image: 'byjg/php:${{ matrix.php-version }}-cli'
17+
options: --user root --privileged
1618
strategy:
1719
matrix:
1820
php-version:
@@ -22,7 +24,7 @@ jobs:
2224
- "8.1"
2325

2426
steps:
25-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2628
- run: composer install
2729
- run: ./vendor/bin/phpunit
2830

0 commit comments

Comments
 (0)