Skip to content

Commit

Permalink
update GH actions (#631)
Browse files Browse the repository at this point in the history
* update GH actions

* test tweaks

* adjust formatting action

* rm laravel dev-master for now

* change formatting action back

* drop style req

* no failures
  • Loading branch information
cmgmyr authored Mar 17, 2023
1 parent 56bf41b commit a188b86
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v1
with:
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/frameworks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-latest]
version: ['^5.4', '@stable', '@dev'] # Test current LTS, current release, and future release
php: ['7.4', '8.0', '8.1']
php: ['7.4', '8.0', '8.1', '8.2']
composer-version: [v2]
include:
- version: '^5.4'
Expand All @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: phpinsights
- name: Setup PHP
Expand Down Expand Up @@ -86,23 +86,17 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
version: ['^9.0', '^8.0', 'dev-master']
php: ['7.4', '8.0', '8.1']
version: ['^9.0', '^8.0']
php: ['7.4', '8.0', '8.1', '8.2']
composer-version: [v2]
exclude:
- version: '^9.0'
php: '7.4'
- version: 'dev-master'
php: '7.4'
- version: 'dev-master'
php: '8.0'
env:
allow_failure: ${{ matrix.php == '8.1' || matrix.version == 'dev-master' }}
name: "Laravel:${{ matrix.version }} - PHP${{ matrix.php }} - Composer ${{ matrix.composer-version }}"

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: phpinsights
- name: Setup PHP
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
php: ['7.4', '8.0', '8.1']
php: ['7.4', '8.0', '8.1', '8.2']
dependency-version: [prefer-lowest, prefer-stable]
composer-version: [v2]
exclude:
- dependency-version: prefer-lowest
php: '8.0'
- dependency-version: prefer-lowest
php: '8.1'
- dependency-version: prefer-lowest
php: '8.2'
name: ${{ matrix.php }} - ${{ matrix.os }} - Composer ${{ matrix.composer-version }} --${{ matrix.dependency-version }}

steps:
Expand All @@ -31,7 +33,7 @@ jobs:
git config --system core.eol lf
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v1
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,24 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1']
php: ['7.4', '8.0', '8.1', '8.2']
dependency-version: [prefer-lowest, prefer-stable]
composer-version: [ v2 ]
exclude:
- dependency-version: prefer-lowest
php: '8.0'
- dependency-version: prefer-lowest
php: '8.1'
- dependency-version: prefer-lowest
php: '8.2'
name: ${{ matrix.php }} - Composer ${{ matrix.composer-version }} --${{ matrix.dependency-version }}

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ matrix.composer-version }}
Expand Down
2 changes: 1 addition & 1 deletion phpinsights.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@
'requirements' => [
'min-quality' => 90.0,
'min-architecture' => 85.0,
'min-style' => 98.0,
'min-style' => 96.0,
],
];

0 comments on commit a188b86

Please sign in to comment.