Skip to content

Commit 01f0801

Browse files
Merge pull request #323 from fedeisas/Fix-github-actions
Fix GitHub actions
2 parents 47c41ed + 035670c commit 01f0801

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [ master ]
6-
pull_request:
7-
branches: [ master ]
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
88

99
jobs:
1010
test:
@@ -35,8 +35,15 @@ jobs:
3535
allow_fail: false
3636
name: 'PHP 8.2 with lowest stable deps'
3737
composer_update_flags: '--prefer-lowest --prefer-stable'
38+
- php: 8.3
39+
allow_fail: false
40+
name: 'PHP 8.3 with latest deps'
41+
- php: 8.3
42+
allow_fail: false
43+
name: 'PHP 8.3 with lowest stable deps'
44+
composer_update_flags: '--prefer-lowest --prefer-stable'
3845
steps:
39-
- uses: actions/checkout@v1
46+
- uses: actions/checkout@v4
4047

4148
- name: Setup PHP ${{ matrix.php }}
4249
uses: shivammathur/setup-php@v2
@@ -47,10 +54,10 @@ jobs:
4754

4855
- name: Get composer cache directory
4956
id: composer-cache
50-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
57+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
5158

5259
- name: Cache dependencies
53-
uses: actions/cache@v2
60+
uses: actions/cache@v4
5461
with:
5562
path: ${{ steps.composer-cache.outputs.dir }}
5663
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -78,6 +85,6 @@ jobs:
7885
composer-normalize:
7986
runs-on: ubuntu-latest
8087
steps:
81-
- uses: actions/checkout@v1
88+
- uses: actions/checkout@v4
8289
- name: Composer normalize
8390
uses: localheinz/[email protected]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"tijsverkoyen/css-to-inline-styles": "~2.2"
2323
},
2424
"require-dev": {
25-
"enlightn/security-checker": "^1.10",
25+
"enlightn/security-checker": "^1.10 || ^2.0",
2626
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
2727
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
2828
"phpunit/phpunit": "^9.0",

0 commit comments

Comments
 (0)