Skip to content

Commit 58dcf57

Browse files
committed
build: update github action to ubuntu 20.4 and php7.4
1 parent 52c0026 commit 58dcf57

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/integration.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build-test:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88

99
steps:
1010
- name: checkout project
@@ -21,7 +21,9 @@ jobs:
2121
run: mkdir logs
2222
- name: copy config
2323
run: cp config/_config.php config/config.php
24-
- name: run phpcs for PSR12 coding style checks
24+
- name: Display PHP version
25+
run: php7.4 --version
26+
- name: run phpcs for PSR12 coding style checks
2527
run: php7.4 ./vendor/bin/phpcs -np --standard=PSR12 --ignore=".src/Templates" ./src
2628
- name: run test - php unit
2729
run: php7.4 ./vendor/bin/phpunit --testdox

0 commit comments

Comments
 (0)