Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Sep 6, 2023
1 parent 82beef8 commit 7e40384
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.2"

steps:
- name: "Checkout"
Expand All @@ -24,7 +24,7 @@ jobs:
tools: "cs2pr"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"

- name: "Run PHP_CodeSniffer"
run: "vendor/bin/phpcs -n -s --report=checkstyle | cs2pr"
Expand All @@ -36,9 +36,9 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

steps:
- name: "Checkout"
Expand All @@ -50,8 +50,7 @@ jobs:
php-version: "${{ matrix.php-version }}"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"

uses: "ramsey/composer-install@v2"
- name: "Run PHPUnit"
run: "vendor/bin/phpunit"

0 comments on commit 7e40384

Please sign in to comment.