19
19
if : (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
20
20
steps :
21
21
- name : Cancel Previous Runs
22
-
23
- with :
22
+ uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
23
+ with :
24
24
access_token : ${{ github.token }}
25
25
26
26
php_syntax_errors :
@@ -30,15 +30,15 @@ jobs:
30
30
- kill_previous
31
31
steps :
32
32
- name : Set up PHP
33
- uses : shivammathur/setup-php@v2
33
+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
34
34
with :
35
- php-version : 8.2
35
+ php-version : 8.3
36
36
37
37
- name : Checkout code
38
- uses : actions/checkout@v4
38
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39
39
40
40
- name : Install dependencies
41
- uses : ramsey/composer-install@v3
41
+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
42
42
43
43
- name : Check source code for syntax errors
44
44
run : vendor/bin/parallel-lint --exclude .git --exclude vendor .
@@ -50,15 +50,15 @@ jobs:
50
50
- php_syntax_errors
51
51
steps :
52
52
- name : Set up PHP
53
- uses : shivammathur/setup-php@v2
53
+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
54
54
with :
55
55
php-version : latest
56
56
57
57
- name : Checkout code
58
- uses : actions/checkout@v4
58
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
59
59
60
60
- name : Install dependencies
61
- uses : ramsey/composer-install@v3
61
+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
62
62
63
63
- name : Check source code for code style errors
64
64
run : PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --verbose --diff --dry-run
@@ -70,17 +70,17 @@ jobs:
70
70
# - php_syntax_errors
71
71
# steps:
72
72
# - name: Checkout code
73
- # uses: actions/checkout@v4
73
+ # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
74
74
75
75
# - name: Setup PHP
76
- # uses: shivammathur/setup-php@v2
76
+ # uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
77
77
# with:
78
78
# php-version: 8.1
79
79
# coverage: none
80
80
# tools: phpstan
81
81
82
82
# - name: Install Composer dependencies
83
- # uses: ramsey/composer-install@v3
83
+ # uses: ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
84
84
85
85
# - name: Run PHPStan
86
86
# run: vendor/bin/phpstan analyze
94
94
fail-fast : false
95
95
matrix :
96
96
php-version :
97
- - 8.2
98
97
- 8.3
98
+ - 8.4
99
99
100
100
env :
101
101
COMPOSER_NO_INTERACTION : 1
@@ -106,19 +106,19 @@ jobs:
106
106
107
107
# Checks out a copy of your repository on the ubuntu machine
108
108
- name : Checkout code
109
- uses : actions/checkout@v4
109
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110
110
111
111
112
112
- name : Setup PHP Action
113
- uses : shivammathur/setup-php@v2
113
+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
114
114
with :
115
115
php-version : ${{ matrix.php-version }}
116
116
extensions : ${{ env.extensions }}
117
117
coverage : xdebug
118
118
tools : pecl, composer
119
119
120
120
- name : Install Composer dependencies
121
- uses : ramsey/composer-install@v3
121
+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
122
122
123
123
- name : Run tests
124
124
run : composer run-tests
0 commit comments