Skip to content

Commit 07cd65e

Browse files
committed
Update GitHub Actions
1 parent 466f0d8 commit 07cd65e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,36 @@ on:
44
push:
55
pull_request:
66

7-
env:
8-
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
9-
107
jobs:
118
test:
129
name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }}
1310

14-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1512

1613
continue-on-error: ${{ matrix.allowed-to-fail }}
1714

1815
strategy:
1916
matrix:
2017
php-version:
21-
- '7.4'
2218
- '8.0'
2319
- '8.1'
20+
- '8.2'
2421
dependencies: [highest]
2522
allowed-to-fail: [false]
2623
variant: [normal]
2724
include:
28-
- php-version: '8.0'
25+
- php-version: '8.1'
2926
dependencies: highest
3027
allowed-to-fail: true
3128
variant: 'squizlabs/php_codesniffer:"dev-master"'
32-
- php-version: '8.1'
29+
- php-version: '8.2'
3330
dependencies: highest
3431
allowed-to-fail: true
3532
variant: 'squizlabs/php_codesniffer:"dev-master"'
3633

3734
steps:
3835
- name: Checkout
39-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
4037

4138
- name: Install PHP with extensions
4239
uses: shivammathur/setup-php@v2
@@ -49,7 +46,7 @@ jobs:
4946
run: composer require ${{ matrix.variant }} --no-update
5047

5148
- name: "Install Composer dependencies (${{ matrix.dependencies }})"
52-
uses: "ramsey/composer-install@v1"
49+
uses: "ramsey/composer-install@v2"
5350
with:
5451
dependency-versions: "${{ matrix.dependencies }}"
5552
composer-options: "--prefer-dist --prefer-stable"

0 commit comments

Comments
 (0)