Skip to content

Commit 5d11648

Browse files
authored
Bump Ubuntu version and shared workflows (#10020)
1 parent 0ecac1b commit 5d11648

5 files changed

+11
-13
lines changed

.github/workflows/coding-standard.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ on:
1010

1111
jobs:
1212
coding-standards:
13-
uses: "doctrine/.github/.github/workflows/coding-standards.yml@1.4.1"
14-
with:
15-
php-version: "8.1"
13+
uses: "doctrine/.github/.github/workflows/coding-standards.yml@2.0.0"

.github/workflows/continuous-integration.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
phpunit-smoke-check:
1616
name: "PHPUnit with SQLite"
17-
runs-on: "ubuntu-20.04"
17+
runs-on: "ubuntu-22.04"
1818

1919
strategy:
2020
matrix:
@@ -76,7 +76,7 @@ jobs:
7676

7777
phpunit-postgres:
7878
name: "PHPUnit with PostgreSQL"
79-
runs-on: "ubuntu-20.04"
79+
runs-on: "ubuntu-22.04"
8080
needs: "phpunit-smoke-check"
8181

8282
strategy:
@@ -142,7 +142,7 @@ jobs:
142142

143143
phpunit-mariadb:
144144
name: "PHPUnit with MariaDB"
145-
runs-on: "ubuntu-20.04"
145+
runs-on: "ubuntu-22.04"
146146
needs: "phpunit-smoke-check"
147147

148148
strategy:
@@ -218,7 +218,7 @@ jobs:
218218

219219
phpunit-mysql:
220220
name: "PHPUnit with MySQL"
221-
runs-on: "ubuntu-20.04"
221+
runs-on: "ubuntu-22.04"
222222
needs: "phpunit-smoke-check"
223223

224224
strategy:
@@ -301,7 +301,7 @@ jobs:
301301

302302
phpunit-lower-php-versions:
303303
name: "PHPUnit with SQLite"
304-
runs-on: "ubuntu-20.04"
304+
runs-on: "ubuntu-22.04"
305305

306306
strategy:
307307
matrix:
@@ -334,7 +334,7 @@ jobs:
334334

335335
upload_coverage:
336336
name: "Upload coverage to Codecov"
337-
runs-on: "ubuntu-20.04"
337+
runs-on: "ubuntu-22.04"
338338
needs:
339339
- "phpunit-smoke-check"
340340
- "phpunit-postgres"

.github/workflows/phpbench.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
phpbench:
1717
name: "PHPBench"
18-
runs-on: "ubuntu-20.04"
18+
runs-on: "ubuntu-22.04"
1919

2020
strategy:
2121
matrix:

.github/workflows/release-on-milestone-closed.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@1.4.1"
10+
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@2.0.0"
1111
secrets:
1212
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
1313
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}

.github/workflows/static-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
static-analysis-phpstan:
1414
name: "Static Analysis with PHPStan"
15-
runs-on: "ubuntu-20.04"
15+
runs-on: "ubuntu-22.04"
1616

1717
strategy:
1818
fail-fast: false
@@ -68,7 +68,7 @@ jobs:
6868

6969
static-analysis-psalm:
7070
name: "Static Analysis with Psalm"
71-
runs-on: "ubuntu-20.04"
71+
runs-on: "ubuntu-22.04"
7272

7373
strategy:
7474
fail-fast: false

0 commit comments

Comments
 (0)