Unverified Commit 03f139a6 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3961 from greg0ire/stop-relying-on-psalm-master

Stop relying on the master version of Psalm
parents 50e23218 94742673
......@@ -8,9 +8,26 @@ jobs:
static-analysis-psalm:
name: Static Analysis with Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: "Install PHP"
uses: "shivammathur/setup-php@1.8.1"
with:
coverage: "none"
php-version: "7.4"
- name: "Cache dependencies installed with composer"
uses: "actions/cache@v1.0.3"
with:
path: "~/.composer/cache"
key: "composer-${{ hashFiles('composer.json') }}"
restore-keys: "composer-"
- name: "Install dependencies with composer"
run: "composer update --no-interaction --no-progress --no-suggest"
- name: Psalm
uses: docker://vimeo/psalm-github-actions
run: "vendor/bin/psalm"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment