Skip to content

Merge pull request #49 from giggsey/dependabot/github_actions/ramsey/… #108

Merge pull request #49 from giggsey/dependabot/github_actions/ramsey/…

Merge pull request #49 from giggsey/dependabot/github_actions/ramsey/… #108

Workflow file for this run

name: "SAST"
on:
push:
branches:
- 'main'
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
jobs:
phpstan:
name: "PHPStan"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- uses: "ramsey/composer-install@v3"
with:
dependency-versions: highest
- name: Run PHPStan
run: "composer run-script phpstan"