Skip to content

Commit f5f3c08

Browse files
committed
Use ubuntu-24.04 in github actions
https://github.com/EdgedesignCZ/phpqa/actions/runs/15660110579/job/44116580745?pr=265 This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. https://github.com/EdgedesignCZ/phpqa/actions/runs/15660147405/job/44116674050?pr=265 This request has been automatically failed because it uses a deprecated version of `actions/cache: v2`. This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2` https://github.com/EdgedesignCZ/phpqa/actions/runs/15660192541/job/44116788349?pr=265#step:7:170 Ignore security-checker errors in deprecated php versions
1 parent a3038f1 commit f5f3c08

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ on:
1010

1111
jobs:
1212
phpqa:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Build docker
1818
env:
1919
CI_GIT_REF: ${{ github.ref }}

.github/workflows/php.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
phpqa:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -19,18 +19,18 @@ jobs:
1919
- { php: 5.6, areSuggestedToolsInstalled: yes, allowedSecurityErrors: 1 }
2020
# PHP7
2121
- { php: 7.0 }
22-
- { php: 7.1, areSuggestedToolsInstalled: yes }
22+
- { php: 7.1, areSuggestedToolsInstalled: yes, allowedSecurityErrors: 1 }
2323
- { php: 7.2, areSuggestedToolsInstalled: yes }
2424
- { php: 7.3 }
2525
- { php: 7.4, areSuggestedToolsInstalled: yes }
2626
# PHP8
27-
- { php: 8.0, areSuggestedToolsInstalled: yes }
27+
- { php: 8.0, areSuggestedToolsInstalled: yes, allowedSecurityErrors: 1 }
2828
- { php: 8.1, areSuggestedToolsInstalled: yes }
2929
- { php: 8.2, areSuggestedToolsInstalled: yes }
3030
stability: [prefer-stable]
3131

3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
3434

3535
- name: Setup PHP
3636
uses: shivammathur/setup-php@v2
@@ -43,7 +43,7 @@ jobs:
4343
tools: ${{ (matrix.php != '7.2' && 'composer:v2') || 'composer:v1' }}
4444

4545
- name: Cache composer
46-
uses: actions/cache@v2
46+
uses: actions/cache@v4
4747
with:
4848
path: |
4949
~/.composer/cache
@@ -77,7 +77,7 @@ jobs:
7777
ls -lAh build
7878
7979
- name: Upload QA files
80-
uses: actions/upload-artifact@v2
80+
uses: actions/upload-artifact@v4
8181
with:
8282
name: phpqa-${{ matrix.php }}
8383
path: build

0 commit comments

Comments
 (0)