Skip to content

Commit 9e6fee5

Browse files
authored
Merge pull request #50 from mindbox-moscow/add-action-php74
Change github actions config
2 parents 5c7b163 + 5d69d0e commit 9e6fee5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,35 @@ jobs:
3636
- name: Run tests
3737
run: vendor/bin/phpunit
3838

39+
40+
build_7_4:
41+
runs-on: ubuntu-latest
42+
43+
steps:
44+
45+
- uses: actions/checkout@v2
46+
- uses: php-actions/composer@v6
47+
with:
48+
php_version: 7.4
49+
version: 2
50+
51+
- name: Setup PHP
52+
uses: shivammathur/setup-php@v2
53+
with:
54+
php-version: 7.4
55+
56+
- name: Update packages
57+
run: sudo composer update
58+
59+
- name: PHP version
60+
run: php -v
61+
62+
- name: Run phpcs
63+
run: vendor/bin/phpcs
64+
65+
- name: Run tests
66+
run: vendor/bin/phpunit
67+
3968
build_8_0:
4069
runs-on: ubuntu-latest
4170

0 commit comments

Comments
 (0)