Skip to content

Commit 1d00251

Browse files
committed
Several small changes to GHA.
1 parent 82914cd commit 1d00251

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.github/workflows/json.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
# Allow manually triggering the workflow.
1919
workflow_dispatch:
2020

21+
# Cancels all previous workflow runs for the same branch that have not yet completed.
2122
concurrency:
2223
group: ${{ github.workflow }}-${{ github.ref }}
2324
cancel-in-progress: true

.github/workflows/markdown.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
# Allow manually triggering the workflow.
1919
workflow_dispatch:
2020

21+
# Cancels all previous workflow runs for the same branch that have not yet completed.
2122
concurrency:
2223
group: ${{ github.workflow }}-${{ github.ref }}
2324
cancel-in-progress: true

.github/workflows/php.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@ on:
2525
- 'composer.lock'
2626
# Allow manually triggering the workflow.
2727
workflow_dispatch:
28-
# Run once the "JSON Quality Assistance" workflow has been completed.
29-
workflow_run:
30-
workflows: [ "JSON Quality Assistance" ]
31-
types:
32-
- completed
3328

3429

30+
# Cancels all previous workflow runs for the same branch that have not yet completed.
3531
concurrency:
3632
group: ${{ github.workflow }}-${{ github.ref }}
3733
cancel-in-progress: true
@@ -69,7 +65,6 @@ jobs:
6965
--strict
7066
# 02.test.php.test-unit.yml
7167
php-unittest:
72-
continue-on-error: ${{ matrix.php < '8.1' || matrix.php > '8.4' }}
7368
name: PHP Unit Tests
7469
needs:
7570
- lint-php-syntax
@@ -83,8 +78,6 @@ jobs:
8378
- '8.1' # from 2021-11 to 2023-11 (2025-12)
8479
- '8.2' # from 2022-12 to 2024-12 (2026-12)
8580
- '8.3' # from 2023-11 to 2025-12 (2027-12)
86-
- '8.4' # from 2024-11 to 2026-12 (2028-12)
87-
- '8.5' # from 2025-11 to 2027-12 (2029-12)
8881
steps:
8982
- uses: actions/checkout@v4
9083
- uses: shivammathur/setup-php@v2
@@ -117,7 +110,6 @@ jobs:
117110
--no-scripts
118111
# 03.quality.php.lint-version-compatibility.yml
119112
php-check-version-compatibility:
120-
continue-on-error: ${{ matrix.php < '8.1' || matrix.php > '8.4' }}
121113
name: PHP Version Compatibility
122114
needs:
123115
- lint-php-syntax
@@ -130,8 +122,6 @@ jobs:
130122
- '8.1' # from 2021-11 to 2023-11 (2025-12)
131123
- '8.2' # from 2022-12 to 2024-12 (2026-12)
132124
- '8.3' # from 2023-11 to 2025-12 (2027-12)
133-
- '8.4' # from 2024-11 to 2026-12 (2028-12)
134-
- '8.5' # from 2025-11 to 2027-12 (2029-12)
135125
steps:
136126
- uses: actions/checkout@v4
137127
- uses: docker://pipelinecomponents/php-codesniffer

.github/workflows/yaml.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
# Allow manually triggering the workflow.
1919
workflow_dispatch:
2020

21+
# Cancels all previous workflow runs for the same branch that have not yet completed.
2122
concurrency:
2223
group: ${{ github.workflow }}-${{ github.ref }}
2324
cancel-in-progress: true

0 commit comments

Comments
 (0)