File tree Expand file tree Collapse file tree 4 files changed +37
-27
lines changed Expand file tree Collapse file tree 4 files changed +37
-27
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
/.gitattributes export-ignore
6
6
/.gitignore export-ignore
7
- /.travis.yml export-ignore
8
7
/.github export-ignore
9
8
10
9
#
Original file line number Diff line number Diff line change
1
+ name : Validate
2
+
3
+ on :
4
+ # Run on all pushes and pull requests.
5
+ push :
6
+ pull_request :
7
+ # Also run this workflow on day 15 of every month as the repo isn't that active.
8
+ schedule :
9
+ - cron : ' 0 0 15 * *'
10
+
11
+ jobs :
12
+ validate :
13
+ runs-on : ubuntu-latest
14
+
15
+ strategy :
16
+ fail-fast : true
17
+ matrix :
18
+ php : ['5.4', 'latest']
19
+
20
+ name : PHP ${{ matrix.php }}
21
+
22
+ steps :
23
+ - name : Checkout code
24
+ uses : actions/checkout@v2
25
+
26
+ - name : Install PHP
27
+ uses : shivammathur/setup-php@v2
28
+ with :
29
+ php-version : ${{ matrix.php }}
30
+ coverage : none
31
+
32
+ - name : Install dependencies
33
+ run : composer update --no-interaction --no-progress
34
+
35
+ - name : Validate Composer installation
36
+ run : composer validate --no-check-all --strict
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[ ![ License] ( https://poser.pugx.org/PHPCompatibility/phpcompatibility-all/license.png )] ( https://github.com/PHPCompatibility/PHPCompatibilityAll/blob/master/LICENSE )
2
- [ ![ Build Status] ( https://travis-ci.org /PHPCompatibility/PHPCompatibilityAll.svg?branch=master )] ( https://travis-ci.org /PHPCompatibility/PHPCompatibilityAll )
2
+ [ ![ Build Status] ( https://github.com /PHPCompatibility/PHPCompatibilityAll/workflows/Validate/badge .svg?branch=master )] ( https://github.com /PHPCompatibility/PHPCompatibilityAll/actions )
3
3
4
4
# PHPCompatibilityAll
5
5
You can’t perform that action at this time.
0 commit comments