Skip to content

chore(deps): update step-security/harden-runner action to v2.6.0 #558

chore(deps): update step-security/harden-runner action to v2.6.0

chore(deps): update step-security/harden-runner action to v2.6.0 #558

name: Static Code Analysis
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
PHP_VERSION: "8.0"
jobs:
psalm:
runs-on: ubuntu-latest
name: Psalm
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Check out source code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Set up PHP
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # 2.26.0
with:
coverage: none
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