Skip to content

Commit 7bcefc3

Browse files
authored
Update GitHub workflows (#288)
* Update to Github workflow versions * Update cache action
1 parent 3c1487a commit 7bcefc3

3 files changed

Lines changed: 16 additions & 31 deletions

File tree

.github/workflows/coding-standards.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ on: ["pull_request"]
55
jobs:
66
coding-standards:
77
name: "Coding Standards"
8-
runs-on: "ubuntu-20.04"
8+
runs-on: "ubuntu-latest"
99

1010
strategy:
1111
matrix:
1212
php-version:
1313
- "7.4"
14+
- "8.0"
15+
- "8.5"
1416

1517
steps:
1618
- name: "Checkout"
@@ -26,7 +28,7 @@ jobs:
2628
tools: "cs2pr"
2729

2830
- name: "Cache dependencies installed with Composer"
29-
uses: "actions/cache@v2"
31+
uses: "actions/cache@v5"
3032
with:
3133
path: "~/.composer/cache"
3234
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,26 @@ env:
88
jobs:
99
phpunit:
1010
name: "PHPUnit"
11-
runs-on: "ubuntu-20.04"
11+
runs-on: "ubuntu-latest"
1212

1313
strategy:
1414
matrix:
1515
php-version:
1616
- "7.4"
1717
- "8.0"
1818
- "8.1"
19+
- "8.2"
20+
- "8.3"
21+
- "8.4"
22+
- "8.5"
1923
deps:
2024
- "normal"
25+
- "low"
26+
- "dev"
2127
symfony-require:
2228
- ""
2329
symfony-deprecations-helper:
2430
- ""
25-
include:
26-
- php-version: "7.4"
27-
deps: "normal"
28-
29-
- php-version: "7.4"
30-
deps: "low"
31-
32-
- php-version: "7.4"
33-
deps: "dev"
34-
35-
- php-version: "8.0"
36-
deps: "normal"
37-
38-
- php-version: "8.0"
39-
deps: "low"
40-
41-
- php-version: "8.0"
42-
deps: "dev"
43-
44-
- php-version: "8.1"
45-
deps: "normal"
46-
47-
- php-version: "8.1"
48-
deps: "low"
49-
50-
- php-version: "8.1"
51-
deps: "dev"
5231

5332
steps:
5433
- name: "Checkout"
@@ -62,7 +41,7 @@ jobs:
6241
php-version: "${{ matrix.php-version }}"
6342

6443
- name: "Cache dependencies installed with composer"
65-
uses: "actions/cache@v2"
44+
uses: "actions/cache@v5"
6645
with:
6746
path: "~/.composer/cache"
6847
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"

.github/workflows/static-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
- "7.4"
1414
- "8.0"
1515
- "8.1"
16+
- "8.2"
17+
- "8.3"
18+
- "8.4"
19+
- "8.5"
1620

1721
steps:
1822
- name: "Checkout code"

0 commit comments

Comments
 (0)