Skip to content

Commit 03b686d

Browse files
committed
Bump GitHub actions
1 parent 4a2d5bf commit 03b686d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ jobs:
1616
uses: shivammathur/setup-php@v2
1717
with:
1818
php-version: 7.2
19-
tools: composer:v2
2019
- name: Validate composer.json and composer.lock
2120
run: composer validate
2221
- name: Get Composer Cache Directory
2322
id: composer-cache
2423
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2524
- name: Restore cache
26-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2726
with:
2827
path: ${{ steps.composer-cache.outputs.dir }}
2928
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -42,12 +41,11 @@ jobs:
4241
uses: shivammathur/setup-php@v2
4342
with:
4443
php-version: 7.4
45-
tools: composer:v2
4644
- name: Get Composer Cache Directory
4745
id: composer-cache
4846
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4947
- name: Restore cache
50-
uses: actions/cache@v3
48+
uses: actions/cache@v4
5149
with:
5250
path: ${{ steps.composer-cache.outputs.dir }}
5351
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

.github/workflows/tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
continue-on-error: ${{ matrix.experimental }}
1515
strategy:
1616
matrix:
17-
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
17+
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
1818
os: [ubuntu-latest]
1919
experimental: [false]
2020
composer-options: ['']
@@ -31,7 +31,7 @@ jobs:
3131
id: composer-cache
3232
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3333
- name: Restore cache
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: ${{ steps.composer-cache.outputs.dir }}
3737
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -42,7 +42,9 @@ jobs:
4242
- name: Run php tests
4343
run: composer run phpunit
4444
- name: Send coverage
45-
uses: codecov/codecov-action@v3
45+
uses: codecov/codecov-action@v4
46+
with:
47+
token: ${{ secrets.CODECOV_TOKEN }}
4648

4749
test-phar:
4850
name: Run command line tests on the phar with php ${{ matrix.php-version }} on ${{ matrix.os }}
@@ -64,7 +66,7 @@ jobs:
6466
with:
6567
php-version: ${{ matrix.php-version }}
6668
- name: Cache module
67-
uses: actions/cache@v3
69+
uses: actions/cache@v4
6870
with:
6971
path: ~/shunit2_2.1.8-4_all.deb
7072
key: shunit2-cache
@@ -99,7 +101,7 @@ jobs:
99101
id: composer-cache
100102
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
101103
- name: Restore cache
102-
uses: actions/cache@v3
104+
uses: actions/cache@v4
103105
with:
104106
path: ${{ steps.composer-cache.outputs.dir }}
105107
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -133,7 +135,7 @@ jobs:
133135
id: composer-cache
134136
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
135137
- name: Restore cache
136-
uses: actions/cache@v3
138+
uses: actions/cache@v4
137139
with:
138140
path: ${{ steps.composer-cache.outputs.dir }}
139141
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

0 commit comments

Comments
 (0)