Skip to content

Commit 182aa69

Browse files
committed
[TASK] Upgrade Actions
1 parent c637692 commit 182aa69

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

.github/workflows/code_coverage.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
if: github.actor != 'dependabot[bot]'
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- name: Checkout
16+
uses: actions/checkout@v4
1617

1718
- uses: shivammathur/setup-php@v2
1819
with:
1920
php-version: 7.4
2021
coverage: none
2122

22-
- uses: ramsey/composer-install@v2
23+
- uses: ramsey/composer-install@v3
2324

2425
- run: |
2526
phpdbg -qrr -d memory_limit=-1 vendor/bin/phpunit --coverage-clover build/logs/clover.xml

.github/workflows/php_cs_fixer.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
if: github.event.pull_request.draft == false && github.repository == 'TYPO3/Surf' && github.actor != 'dependabot[bot]'
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- name: Checkout
19+
uses: actions/checkout@v4
1920
with:
2021
token: ${{ secrets.PHP_CS_FIXER }}
2122
ref: ${{ github.head_ref }}
@@ -25,12 +26,12 @@ jobs:
2526
php-version: 7.4
2627
coverage: none # disable xdebug, pcov
2728

28-
- uses: ramsey/composer-install@v2
29+
- uses: ramsey/composer-install@v3
2930

3031
- name: Run php-cs-fixer
3132
run: vendor/bin/php-cs-fixer fix --diff
3233

33-
- name: "Commit changed files"
34+
- name: Commit changed files
3435
uses: stefanzweifel/git-auto-commit-action@v4
3536
with:
3637
commit_message: Apply php-cs-fixer changes

.github/workflows/phpstan.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ jobs:
1010
phpstan:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- name: Checkout
14+
uses: actions/checkout@v4
1415

1516
- uses: shivammathur/setup-php@v2
1617
with:
1718
php-version: 7.4
1819
coverage: none
1920

20-
- uses: ramsey/composer-install@v2
21+
- uses: ramsey/composer-install@v3
2122

2223
- run: vendor/bin/phpstan analyse --ansi

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Box global
2323
run: composer global require "humbug/box:^3.8" --no-ansi --no-interaction --no-progress --classmap-authoritative
2424

25-
- uses: ramsey/composer-install@v2
25+
- uses: ramsey/composer-install@v3
2626
with:
2727
composer-options: "--no-ansi --no-interaction --no-dev --classmap-authoritative"
2828

@@ -36,7 +36,7 @@ jobs:
3636
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV # tag x.y.z will become "TYPO3 Surf x.y.z"
3737

3838
- name: Release
39-
uses: softprops/action-gh-release@v0.1.15
39+
uses: softprops/action-gh-release@v2
4040
if: startsWith(github.ref, 'refs/tags/')
4141
with:
4242
name: TYPO3 Surf ${{ env.RELEASE_VERSION }}

.github/workflows/tests.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Lint PHP
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
@@ -33,14 +33,15 @@ jobs:
3333

3434
name: PHP ${{ matrix.php }} unittests
3535
steps:
36-
- uses: actions/checkout@v3
36+
- name: Checkout
37+
uses: actions/checkout@v4
3738

3839
- uses: shivammathur/setup-php@v2
3940
with:
4041
php-version: ${{ matrix.php }}
4142
coverage: none # disable xdebug, pcov
4243

43-
- uses: ramsey/composer-install@v2
44+
- uses: ramsey/composer-install@v3
4445
with:
4546
composer-options: "--no-interaction --no-suggest"
4647

@@ -54,14 +55,14 @@ jobs:
5455

5556
name: Can be executed with PHP ${{ matrix.php }}
5657
steps:
57-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v4
5859

5960
- uses: shivammathur/setup-php@v2
6061
with:
6162
php-version: ${{ matrix.php }}
6263
coverage: none # disable xdebug, pcov
6364

64-
- uses: ramsey/composer-install@v2
65+
- uses: ramsey/composer-install@v3
6566
with:
6667
composer-options: "--no-interaction --no-suggest"
6768

0 commit comments

Comments
 (0)