From 142e5b4e127984d2748f52e38bec4d97ba258312 Mon Sep 17 00:00:00 2001 From: David Rans Date: Tue, 20 Aug 2024 10:58:40 -0700 Subject: [PATCH] Add psalm action --- .github/workflows/psalm.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/psalm.yml diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml new file mode 100644 index 0000000..f523ad1 --- /dev/null +++ b/.github/workflows/psalm.yml @@ -0,0 +1,25 @@ +name: psalm + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + psalm: + name: psalm + runs-on: ubuntu-latest + + timeout-minutes: 15 + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run composer install + run: composer install + + - name: Run psalm + run: ./vendor/bin/psalm --output-format=github --update-baseline