Skip to content

Commit 442082c

Browse files
committed
Bump actions
1 parent 93863e1 commit 442082c

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/lint-and-analyse.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Lint and analyse files
22

3+
permissions:
4+
contents: read
5+
36
on: [push]
47

58
jobs:
69
lint-php:
710
runs-on: ubuntu-latest
811
steps:
9-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1013
- name: Cache module
11-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1215
with:
1316
path: ~/.composer/cache/
1417
key: composer-cache
@@ -24,9 +27,9 @@ jobs:
2427
analyse-php:
2528
runs-on: ubuntu-latest
2629
steps:
27-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
2831
- name: Cache module
29-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3033
with:
3134
path: ~/.composer/cache/
3235
key: composer-cache

.github/workflows/tests.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Run tests
22

3+
permissions:
4+
contents: read
5+
36
on: [push]
47

58
jobs:
@@ -9,21 +12,21 @@ jobs:
912
continue-on-error: ${{ matrix.experimental }}
1013
strategy:
1114
matrix:
12-
php-version: ["8.1", "8.2"]
15+
php-version: ["8.1", "8.2", "8.3"]
1316
os: [ubuntu-latest]
1417
experimental: [false]
1518
composer-options: ['']
1619
include:
1720
- { php-version: 'nightly', composer-options: '--ignore-platform-req=php', experimental: true, os: ubuntu-latest }
1821
steps:
19-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2023
- name: Use php ${{ matrix.php-version }}
2124
uses: shivammathur/setup-php@v2
2225
with:
2326
php-version: ${{ matrix.php-version }}
2427
coverage: pcov
2528
- name: Cache module
26-
uses: actions/cache@v3
29+
uses: actions/cache@v4
2730
with:
2831
path: ~/.composer/cache/
2932
key: composer-cache
@@ -32,4 +35,6 @@ jobs:
3235
- name: Run php tests
3336
run: composer run phpunit
3437
- name: Send coverage
35-
uses: codecov/codecov-action@v3
38+
uses: codecov/codecov-action@v4
39+
with:
40+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)