File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Run PHPUnit
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ tags :
8
+ - ' v*'
9
+ pull_request :
10
+ branches :
11
+ - master
12
+ workflow_dispatch :
4
13
5
14
jobs :
6
15
phpunit :
7
16
name : PHPUnit (PHP ${{ matrix.php-version }}, Laravel ${{ matrix.laravel-constraint }})
8
- runs-on : ubuntu-20 .04
17
+ runs-on : ubuntu-24 .04
9
18
10
19
strategy :
11
20
fail-fast : false
28
37
29
38
steps :
30
39
- name : Checkout
31
- uses : actions/checkout@v2
40
+ uses : actions/checkout@v4
32
41
33
42
- name : Set up PHP
34
43
uses : shivammathur/setup-php@v2
42
51
echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
43
52
44
53
- name : Cache dependencies
45
- uses : actions/cache@v2
54
+ uses : actions/cache@v4
46
55
with :
47
56
path : ${{ steps.composer-cache.outputs.dir }}
48
57
key : ${{ runner.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-constraint }}-composer-${{ hashFiles('**/composer.json') }}
You can’t perform that action at this time.
0 commit comments