Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 13, 2024
1 parent 0057523 commit d072f46
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 24 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/analyse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,17 @@ on:

jobs:
analyse:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.3
php: [8.3]
dependencies:
- "highest"
-
experimental:
- false

name: PHP:${{ matrix.php }} PHPStan & Pint
name: PHP:${{ matrix.php }} Code Analysis

steps:
- name: Checkout code
Expand All @@ -36,23 +33,18 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist --no-cache"

- name: Execute Static Code Analysis
run: vendor/bin/phpstan analyse

lint:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.3
dependencies:
- "highest"
php: [8.3]
experimental:
- false

Expand All @@ -72,7 +64,7 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist --no-cache"

- name: PHP Lint
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/audits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ on:

jobs:
audit-dependencies:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.1
- 8.2
Expand All @@ -21,7 +19,7 @@ jobs:
experimental:
- true

name: PHP:${{ matrix.php }} on ${{ matrix.os }}
name: PHP:${{ matrix.php }} Code Audit

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/browser-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
experimental:
- false

name: L11/PHP:${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: Laravel:11 / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
experimental:
- false

name: L10/PHP:${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: Laravel:10 / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }}

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
experimental:
- false

name: L11/PHP:${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: Laravel:11 / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
experimental:
- false

name: L10/PHP:${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: Laravel:10 / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }}

steps:
- name: Checkout code
Expand Down

0 comments on commit d072f46

Please sign in to comment.