name: Psalm analysis

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  psalm:
    name: Psalm
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Psalm
        uses: docker://vimeo/psalm-github-actions