Skip to content

Update actions/checkout action to v4.1.6 #634

Update actions/checkout action to v4.1.6

Update actions/checkout action to v4.1.6 #634

name: "Continuous Integration"
on:
pull_request:
push:
branches:
- '[0-9]+.[0-9]+.x'
tags:
jobs:
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected]
coverage:
name: Test Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: pcov
coverage: pcov
ini-values: pcov.enabled=1
- uses: "ramsey/[email protected]"
- run: php ./vendor/bin/phpunit --coverage-clover=coverage.xml
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: false
composer-require-checker:
name: "Composer Require Checker"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/[email protected]"
- uses: "shivammathur/setup-php@v2"
with:
php-version: "8.2"
ini-values: memory_limit=-1
- uses: "ramsey/[email protected]"
- run: composer global config bin-dir /usr/local/bin
- run: "composer global require -W maglnet/composer-require-checker"
- run: "/usr/local/bin/composer-require-checker check"