mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-06-06 20:37:32 +00:00
69bc41988a
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
28 lines
625 B
YAML
28 lines
625 B
YAML
name: Static code analysis (PHPStan)
|
|
on: push
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
phpstan:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@v5
|
|
|
|
- name: "Setup PHP"
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.3'
|
|
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
|
|
coverage: none
|
|
|
|
- name: "Run composer install"
|
|
run: composer install -n --prefer-dist
|
|
|
|
- name: "Run PHPStan"
|
|
run: composer analyse
|
|
|
|
|