Skip to content

Commit 3c60491

Browse files
jrfnlgrogy
authored andcommitted
GH Actions: minor simplification
No need for the `experimental` key, we can just refer directly to the `matrix.php` version in the `continue-on-error` condition.
1 parent 023b7bf commit 3c60491

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Diff for: .github/workflows/release.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
verify:
5050
name: Validate binary on PHP ${{ matrix.php }}
5151
runs-on: ubuntu-latest
52-
continue-on-error: ${{ matrix.experimental == true }}
52+
continue-on-error: ${{ matrix.php == '8.2' }}
5353
needs:
5454
- bundle
5555

@@ -68,10 +68,6 @@ jobs:
6868
- '8.1'
6969
- '8.2'
7070

71-
include:
72-
- php: '8.2'
73-
experimental: true
74-
7571
steps:
7672
- name: Checkout code
7773
uses: actions/checkout@v2

Diff for: .github/workflows/test.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
test:
7676
name: Run tests on PHP ${{ matrix.php }}
7777
runs-on: ubuntu-latest
78-
continue-on-error: ${{ matrix.experimental == true }}
78+
continue-on-error: ${{ matrix.php == '8.2' }}
7979
needs:
8080
- bundle
8181

@@ -95,10 +95,6 @@ jobs:
9595
- '8.1'
9696
- '8.2'
9797

98-
include:
99-
- php: '8.2'
100-
experimental: true
101-
10298
steps:
10399
- name: Checkout code
104100
uses: actions/checkout@v2

0 commit comments

Comments
 (0)