mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
:octocat: CI update
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "Install PHP"
|
||||
uses: shivammathur/setup-php@v2
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
extensions: ast, gd, imagick, json, mbstring
|
||||
|
||||
- name: "Update dependencies with composer"
|
||||
uses: ramsey/composer-install@v2
|
||||
uses: ramsey/composer-install@v3
|
||||
|
||||
- name: "Run phan"
|
||||
run: php vendor/bin/phan --target-php-version=${{ matrix.php-version }}
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "Install PHP with extensions"
|
||||
uses: shivammathur/setup-php@v2
|
||||
@@ -82,15 +82,16 @@ jobs:
|
||||
extensions: gd, imagick, json, mbstring
|
||||
|
||||
- name: "Install dependencies with composer"
|
||||
uses: ramsey/composer-install@v2
|
||||
uses: ramsey/composer-install@v3
|
||||
|
||||
- name: "Run tests with phpunit"
|
||||
run: php vendor/bin/phpunit --colors=always --configuration=phpunit.xml.dist
|
||||
|
||||
- name: "Send code coverage report to Codecov.io"
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
files: .build/coverage/clover.xml
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: .build/coverage/clover.xml
|
||||
|
||||
- name: "Send code coverage report to Codacy"
|
||||
uses: codacy/codacy-coverage-reporter-action@v1
|
||||
|
||||
Reference in New Issue
Block a user