Skip to content

Commit 4eff317

Browse files
Merge pull request #74 from janlam7/workflow-failure
Update PHP supported versions
2 parents 46e0667 + c40a2dc commit 4eff317

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
php-versions: ['7.3', '7.4', '8.0','8.1','8.2']
15+
php-versions: ['8.1','8.2','8.3']
1616
name: PHP ${{ matrix.php-versions }}
1717
steps:
1818
- uses: actions/checkout@v2
@@ -23,8 +23,9 @@ jobs:
2323
php-version: ${{ matrix.php-versions }}
2424
- name: Get composer cache directory
2525
id: composer-cache
26-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
27-
- uses: actions/cache@v2
26+
run: |
27+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
28+
- uses: actions/cache@v4
2829
with:
2930
path: ${{ steps.composer-cache.outputs.dir }}
3031
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. Hostnet version",
55
"license": "MIT",
66
"require": {
7-
"php": "^7.3|^8.0",
7+
"php": "^8.1",
88
"composer-plugin-api": "^2.0.0",
99
"hostnet/path-composer-plugin-lib": "^1.0.5",
1010
"slevomat/coding-standard": "^8.6.2",

0 commit comments

Comments
 (0)