From 3798e307c9803b1113e78ad49ba4357e616859d4 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 23 Nov 2024 19:02:41 +0100 Subject: [PATCH] Add mac OS scan --- .github/workflows/macos-scan.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/macos-scan.yml diff --git a/.github/workflows/macos-scan.yml b/.github/workflows/macos-scan.yml new file mode 100644 index 00000000000..c298a291362 --- /dev/null +++ b/.github/workflows/macos-scan.yml @@ -0,0 +1,29 @@ +name: Run Psalm (mac OS) + +on: [push, pull_request] + +permissions: + contents: read + +jobs: + build: + runs-on: macos-15 + + steps: + - uses: actions/checkout@v4 + - uses: shivammathur/setup-php@v2 + with: + php-version: '8.4' + ini-values: zend.assertions=1 + tools: composer:v2 + coverage: none + env: + fail-fast: true + + - name: Install dependencies + run: composer install --prefer-dist --no-progress --no-suggest + env: + COMPOSER_ROOT_VERSION: dev-master + + - name: Run Psalm + run: ./psalm --output-format=github