Skip to content

Commit

Permalink
Merge pull request #50 from mindbox-moscow/add-action-php74
Browse files Browse the repository at this point in the history
Change github actions config
  • Loading branch information
IvanShishkin authored Jul 13, 2022
2 parents 5c7b163 + 5d69d0e commit 9e6fee5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,35 @@ jobs:
- name: Run tests
run: vendor/bin/phpunit


build_7_4:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: 7.4
version: 2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4

- name: Update packages
run: sudo composer update

- name: PHP version
run: php -v

- name: Run phpcs
run: vendor/bin/phpcs

- name: Run tests
run: vendor/bin/phpunit

build_8_0:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 9e6fee5

Please sign in to comment.