Skip to content

Commit

Permalink
Stop relying on the master version of Psalm
Browse files Browse the repository at this point in the history
I just got bitten by a bug on master at
doctrine/sql-formatter#43 (comment),
and there are good chances we have the bug on the Dbal too. Anyway, it
only makes sense to use the same version as in the vendors.
  • Loading branch information
greg0ire committed Apr 18, 2020
1 parent 0686b53 commit 9474267
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]"
with:
coverage: "none"
php-version: "7.4"

- name: "Cache dependencies installed with composer"
uses: "actions/[email protected]"
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"

0 comments on commit 9474267

Please sign in to comment.