1919 if : (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
2020 steps :
2121 - name : Cancel Previous Runs
22- 23- with :
22+ uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
23+ with :
2424 access_token : ${{ github.token }}
2525
2626 php_syntax_errors :
@@ -30,15 +30,15 @@ jobs:
3030 - kill_previous
3131 steps :
3232 - name : Set up PHP
33- uses : shivammathur/setup-php@v2
33+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
3434 with :
35- php-version : 8.2
35+ php-version : 8.3
3636
3737 - name : Checkout code
38- uses : actions/checkout@v4
38+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939
4040 - name : Install dependencies
41- uses : ramsey/composer-install@v3
41+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
4242
4343 - name : Check source code for syntax errors
4444 run : vendor/bin/parallel-lint --exclude .git --exclude vendor .
@@ -50,15 +50,15 @@ jobs:
5050 - php_syntax_errors
5151 steps :
5252 - name : Set up PHP
53- uses : shivammathur/setup-php@v2
53+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
5454 with :
5555 php-version : latest
5656
5757 - name : Checkout code
58- uses : actions/checkout@v4
58+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959
6060 - name : Install dependencies
61- uses : ramsey/composer-install@v3
61+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
6262
6363 - name : Check source code for code style errors
6464 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:
7070# - php_syntax_errors
7171# steps:
7272# - name: Checkout code
73- # uses: actions/checkout@v4
73+ # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7474
7575# - name: Setup PHP
76- # uses: shivammathur/setup-php@v2
76+ # uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
7777# with:
7878# php-version: 8.1
7979# coverage: none
8080# tools: phpstan
8181
8282# - name: Install Composer dependencies
83- # uses: ramsey/composer-install@v3
83+ # uses: ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
8484
8585# - name: Run PHPStan
8686# run: vendor/bin/phpstan analyze
9494 fail-fast : false
9595 matrix :
9696 php-version :
97- - 8.2
9897 - 8.3
98+ - 8.4
9999
100100 env :
101101 COMPOSER_NO_INTERACTION : 1
@@ -106,19 +106,19 @@ jobs:
106106
107107 # Checks out a copy of your repository on the ubuntu machine
108108 - name : Checkout code
109- uses : actions/checkout@v4
109+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110110
111111
112112 - name : Setup PHP Action
113- uses : shivammathur/setup-php@v2
113+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
114114 with :
115115 php-version : ${{ matrix.php-version }}
116116 extensions : ${{ env.extensions }}
117117 coverage : xdebug
118118 tools : pecl, composer
119119
120120 - name : Install Composer dependencies
121- uses : ramsey/composer-install@v3
121+ uses : ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # 3.1.0
122122
123123 - name : Run tests
124124 run : composer run-tests
0 commit comments