Skip to content

ci: Add dependabot (#160) #92

ci: Add dependabot (#160)

ci: Add dependabot (#160) #92

Workflow file for this run

name: "Static analysis"
on:
push:
branches:
- "main"
- "master"
pull_request: null
schedule:
- cron: '0 0 1 * *'
jobs:
static-analysis:
runs-on: "ubuntu-latest"
name: "PHPStan on PHP ${{ matrix.php }}"
strategy:
fail-fast: false
matrix:
php:
- "8.3"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v3"
- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
tools: "composer"
- name: "Install Composer dependencies"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
- name: "Perform static analysis"
run: "make phpstan"