Skip to content

Merge pull request #540 from patchlevel/replace-pipeline #84

Merge pull request #540 from patchlevel/replace-pipeline

Merge pull request #540 from patchlevel/replace-pipeline #84

Workflow file for this run

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Static Analysis by Deptrac"
on:
pull_request:
push:
branches:
- "[0-9]+.[0-9]+.x"
- "renovate/*"
jobs:
static-analysis-deptrac:
name: "Static Analysis by Deptrac"
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
dependencies:
- "locked"
php-version:
- "8.3"
operating-system:
- "ubuntu-latest"
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install PHP"
uses: "shivammathur/[email protected]"
with:
coverage: "pcov"
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1
extensions: pdo_sqlite
- uses: ramsey/[email protected]
with:
dependency-versions: ${{ matrix.dependencies }}
- uses: ramsey/[email protected]
with:
dependency-versions: ${{ matrix.dependencies }}
working-directory: 'tools'
- name: "deptrac"
run: "cd tools && ./vendor/bin/deptrac -c ../deptrac.yaml"