Skip to content

Commit 40d0dd7

Browse files
authored
Merge pull request #16 from MaplePHP/develop
build add COMPOSER_ROOT_VERSION php.yml file
2 parents accb61e + 1a331c8 commit 40d0dd7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/php.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ name: PHP Unitary
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88
workflow_dispatch:
99

1010
permissions:
1111
contents: read
1212

1313
jobs:
1414
build:
15-
1615
runs-on: ubuntu-latest
16+
env:
17+
COMPOSER_ROOT_VERSION: 2.x-dev
1718

1819
steps:
1920
- uses: actions/checkout@v4
2021

2122
- name: Cache Composer packages
22-
id: composer-cache
2323
uses: actions/cache@v3
2424
with:
2525
path: vendor
@@ -31,4 +31,4 @@ jobs:
3131
run: composer install --prefer-dist --no-progress
3232

3333
- name: Run test suite
34-
run: php vendor/bin/unitary
34+
run: php vendor/bin/unitary

0 commit comments

Comments
 (0)