File tree Expand file tree Collapse file tree 1 file changed +5
-23
lines changed Expand file tree Collapse file tree 1 file changed +5
-23
lines changed Original file line number Diff line number Diff line change @@ -3,58 +3,40 @@ on: push
3
3
4
4
jobs :
5
5
test-php7_2 :
6
- runs-on : ubuntu-18.04
6
+ runs-on : ubuntu-latest
7
7
strategy :
8
8
matrix :
9
9
prefer : ["prefer-stable", "prefer-lowest"]
10
10
steps :
11
11
- name : checkout
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@v4
13
13
14
14
- name : Setup PHP
15
15
uses : shivammathur/setup-php@v2
16
16
with :
17
17
php-version : ' 7.2'
18
18
tools : composer:v2
19
19
20
- - name : Get Composer Cache Directory
21
- id : composer-cache
22
- run : |
23
- echo "::set-output name=dir::$(composer config cache-files-dir)"
24
- - uses : actions/cache@v3
25
- with :
26
- path : ${{ steps.composer-cache.outputs.dir }}
27
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}-${{ matrix.prefer }}-
28
- restore-keys : ${{ runner.os }}-composer-${{ matrix.prefer }}-
29
20
- name : Composer Install
30
21
run : composer update --${{ matrix.prefer }} --no-interaction --no-progress --no-ansi
31
22
32
23
- name : Run tests
33
24
run : make check
34
25
test-php8 :
35
- runs-on : ubuntu-18.04
26
+ runs-on : ubuntu-latest
36
27
strategy :
37
28
matrix :
38
29
prefer : [ "prefer-stable", "prefer-lowest" ]
39
30
steps :
40
31
- name : checkout
41
- uses : actions/checkout@v3
32
+ uses : actions/checkout@v4
42
33
43
34
- name : Setup PHP
44
35
uses : shivammathur/setup-php@v2
45
36
with :
46
- php-version : ' 8.0 '
37
+ php-version : ' 8.3 '
47
38
tools : composer:v2
48
39
49
- - name : Get Composer Cache Directory
50
- id : composer-cache
51
- run : |
52
- echo "::set-output name=dir::$(composer config cache-files-dir)"
53
- - uses : actions/cache@v3
54
- with :
55
- path : ${{ steps.composer-cache.outputs.dir }}
56
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}-${{ matrix.prefer }}-
57
- restore-keys : ${{ runner.os }}-composer-${{ matrix.prefer }}-
58
40
- name : Composer Install
59
41
run : composer update --${{ matrix.prefer }} --no-interaction --no-progress --no-ansi
60
42
You can’t perform that action at this time.
0 commit comments