Skip to content

Bump actions/dependency-review-action from 3 to 4 #267

Bump actions/dependency-review-action from 3 to 4

Bump actions/dependency-review-action from 3 to 4 #267

name: Static Code Analysis
on:
push:
workflow_dispatch:
permissions:
contents: read
env:
PHP_VERSION: "7.4"
jobs:
prepare:
runs-on: ubuntu-latest
name: Analyze the code with Psalm
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Check out source code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.0.2
- name: Set up PHP
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # tag=v2.21.2
with:
php-version: ${{ env.PHP_VERSION }}
- name: Install dependencies
uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # tag=2.2.0
- name: Run psalm
run: composer psalm -- --output-format=github