From 1d27fbbf33d6953f3c53ad628dd43ab6dcd02f2a Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 12 Mar 2024 11:57:09 +0100 Subject: [PATCH] Update static-analysis.yml (#56) --- .github/workflows/static-analysis.yml | 30 ++------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 453d8a6a..4e235cb9 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -3,7 +3,7 @@ name: static analysis on: push: branches: - - master + - main - '*.x' pull_request: @@ -12,30 +12,4 @@ permissions: jobs: tests: - runs-on: ubuntu-22.04 - - strategy: - fail-fast: true - - name: Static Analysis - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - tools: composer:v2 - coverage: none - - - name: Install dependencies - uses: nick-fields/retry@v2 - with: - timeout_minutes: 5 - max_attempts: 5 - command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress - - - name: Execute type checking - run: vendor/bin/phpstan + uses: laravel/.github/.github/workflows/static-analysis.yml@main