Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
pionl committed Apr 7, 2024
1 parent b0aa770 commit fc56686
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 12 deletions.
66 changes: 59 additions & 7 deletions .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,72 @@ concurrency:
cancel-in-progress: true

jobs:
code:
name: "Code check"
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@7562253bdc3769847417e3476b501e7126f5d2c0
code_l9:
name: "Code check - Laravel 9"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v7"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit

code_l10:
name: "Code check - Laravel 10"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v8"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit

code_l11:
name: "Code check - Laravel 11"
strategy:
matrix:
phpVersion: [ "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v9"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit

tests:
name: "Run tests"
tests_l9:
name: "Code check - Laravel 9"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@7562253bdc3769847417e3476b501e7126f5d2c0
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v7"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit

tests_l10:
name: "Code check - Laravel 10"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v8"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit

tests_l11:
name: "Code check - Laravel 11"
strategy:
matrix:
phpVersion: [ "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v9"
phpVersion: "${{ matrix.phpVersion }}"
gistID: ${{ vars.GIST_ID }}
gistOnPhpVersion: "8.2"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit


8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
"psr/simple-cache": "^3.0"
},
"require-dev": {
"larastrict/conventions": "v0.1.0",
"larastrict/conventions": "v0.1.1",
"mockery/mockery": "^1.6",
"nette/php-generator": "^v4.1",
"orchestra/testbench": "^v7",
"phpstan/phpstan-mockery": "^1.1.0",
"phpstan/phpdoc-parser": "^1.13",
"nikic/php-parser": "^v4.19"
"orchestra/testbench": "^v7.41 | ^v8.0 | ^v9.0",
"phpstan/phpstan-mockery": "^1.1.0"
},
"scripts": {
"post-autoload-dump": [
Expand Down

0 comments on commit fc56686

Please sign in to comment.