Skip to content

Commit ed850c9

Browse files
authored
Bump ubuntu image for test workflow (#246)
* Bump ubuntu image for test workflow * Let's try to use php 8.4 * ubuntu 24.04 with php 8.3 * update deploy workflow
1 parent 1fd4eb7 commit ed850c9

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/deploy.yml

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

99
jobs:
1010
docker:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
-
1414
name: Checkout
@@ -17,12 +17,12 @@ jobs:
1717
- name: Install dependencies
1818
uses: php-actions/composer@v6
1919
with:
20-
php_version: "7.4"
20+
php_version: "8.3"
2121
version: 2
2222

2323
- name: Build
2424
run: |
25-
php7.4 vendor/bin/sculpin generate -vvv -n --env=prod > build_output.log
25+
php8.3 vendor/bin/sculpin generate -vvv -n --env=prod > build_output.log
2626
if grep -iq "notice\|error\|warning" build_output.log ; then return 1; fi
2727
2828
- name: Output
@@ -46,4 +46,4 @@ jobs:
4646
with:
4747
context: .
4848
push: true
49-
tags: phperspl/phpers-website:latest
49+
tags: phperspl/phpers-website:latest

.github/workflows/test.yml

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

99
jobs:
1010
test:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- uses: actions/checkout@v2
1515

1616
- name: Install dependencies
1717
uses: php-actions/composer@v6
1818
with:
19-
php_version: "7.4"
19+
php_version: "8.3"
2020
version: 2
2121

2222
- name: Build
2323
run: |
24-
php7.4 vendor/bin/sculpin generate -vvv -n --env=prod > build_output.log
24+
php8.3 vendor/bin/sculpin generate -vvv -n --env=prod > build_output.log
2525
if grep -iq "notice\|error\|warning" build_output.log ; then return 1; fi
2626
2727
- name: Output
28-
run: cat build_output.log
28+
run: cat build_output.log

0 commit comments

Comments
 (0)