Skip to content

Commit

Permalink
updated nette/coding-standard
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 4, 2020
1 parent a3fbffc commit 492e722
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 7.1
coverage: none

- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
Expand All @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none

- run: composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
- run: php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
- run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
- run: php temp/coding-standard/ecs check
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ after_failure:
jobs:
include:
- name: Nette Code Checker
php: 7.4
install:
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
script:
Expand All @@ -32,9 +31,9 @@ jobs:
- name: Nette Coding Standard
php: 7.4
install:
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
script:
- php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
- php temp/coding-standard/ecs check


- stage: Static Analysis (informative)
Expand Down

0 comments on commit 492e722

Please sign in to comment.