summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: fad605162a445ca4b61ce583aef9844723955a72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
name: Lint
jobs:
  lint:
    name: Lint
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Set up php 8.3
        uses: shivammathur/setup-php@v2
        with:
          php-version: "8.3"

      - name: Set-up Composer
        uses: php-actions/composer@v6

      - name: Run phpstan
        run: ./vendor/bin/phpstan