Skip to content

Commit

Permalink
Update static-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed May 23, 2024
1 parent 157dcdf commit 91f4a6f
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,4 @@ permissions:

jobs:
tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: true

name: Static Analysis

steps:
- name: Checkout code
uses: actions/checkout@v4

- 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: Install Octane
run: |
composer require laravel/octane --with-all-dependencies --dev
- name: Execute type checking
run: vendor/bin/phpstan
uses: laravel/.github/.github/workflows/static-analysis.yml@main

0 comments on commit 91f4a6f

Please sign in to comment.