Skip to content

Commit

Permalink
Do not use matrix of one php version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrans committed Aug 20, 2024
1 parent fe9d102 commit 8e4ec5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,15 @@ jobs:
name: psalm
runs-on: ubuntu-latest

strategy:
matrix:
php-version: '8.3'

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

- name: Set up PHP ${{ matrix.php-version }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}

php-version: '8.3'

- name: Run composer install
run: composer install
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,14 @@ jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: '8.3'

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

- name: Set up PHP ${{ matrix.php-version }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
php-version: '8.3'

- name: Install dependencies
run: composer install
Expand Down

0 comments on commit 8e4ec5b

Please sign in to comment.