Skip to content

Bump actions/checkout from 3 to 4 #269

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #269

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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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