This repository was archived by the owner on Mar 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +43
-9
lines changed Expand file tree Collapse file tree 3 files changed +43
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : PHP Composer
2
-
3
2
on :
4
3
push :
5
4
branches :
@@ -14,13 +13,19 @@ jobs:
14
13
runs-on : ubuntu-latest
15
14
16
15
steps :
17
- - uses : actions/checkout@v2
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Setup PHP Action
20
+ uses :
shivammathur/[email protected]
21
+ with :
22
+ php-version : ' 7.4'
18
23
19
24
- name : Validate composer.json and composer.lock
20
25
run : composer validate
21
26
22
- # - name: Install dependencies
23
- # run: composer install --prefer-dist --no-progress --no-suggest
27
+ - name : Install dependencies
28
+ run : composer install --prefer-dist --no-progress --no-suggest
24
29
25
- # - name: Run test suite
26
- # run: vendor/bin/phpunit
30
+ - name : Run test suite
31
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change
1
+ name : PHP Composer
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ jobs :
11
+ build :
12
+
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Setup PHP Action
20
+ uses :
shivammathur/[email protected]
21
+ with :
22
+ php-version : ' 8.0'
23
+
24
+ - name : Validate composer.json and composer.lock
25
+ run : composer validate
26
+
27
+ - name : Install dependencies
28
+ run : composer install --prefer-dist --no-progress --no-suggest
29
+
30
+ - name : Run test suite
31
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 11
11
],
12
12
"require" : {
13
13
"php" : " ~7.0|^8.0" ,
14
- "8fold/php-shoop-shelf" : " ~0.8" ,
14
+ "8fold/php-shoop-shelf" : " ~0.8.4 " ,
15
15
"8fold/php-html-spec" : " ~0.0.3" ,
16
- "8fold/commonmark-abbreviations" : " ~1.2" ,
17
- "8fold/commonmark-accordions" : " ~1.0.4" ,
18
16
"nesbot/carbon" : " ~2.5"
19
17
},
20
18
"require-dev" : {
You can’t perform that action at this time.
0 commit comments