diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml index 4a708c531..39afa89a3 100644 --- a/.github/workflows/coding-style.yml +++ b/.github/workflows/coding-style.yml @@ -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 @@ -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 diff --git a/.travis.yml b/.travis.yml index c32961fa8..340b89ec2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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)