Skip to content

Commit af5bcb7

Browse files
Chris8934kbond
authored andcommitted
ci: fix github action deprecations
1 parent 0624f13 commit af5bcb7

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/ci-docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: "Checkout"
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: "Create cache dir"
2626
run: mkdir .cache
@@ -30,12 +30,12 @@ jobs:
3030
id: extract_base_branch
3131

3232
- name: "Cache DOCtor-RST"
33-
uses: actions/cache@v3
33+
uses: actions/cache@v4
3434
with:
3535
path: .cache
3636
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
3737

3838
- name: "Run DOCtor-RST"
39-
uses: docker://oskarstark/doctor-rst:1.61.1
39+
uses: docker://oskarstark/doctor-rst:1.64.0
4040
with:
4141
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache

.github/workflows/ci-linux.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ jobs:
7070
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
7171

7272
- name: Composer install
73-
uses: "ramsey/composer-install@v2"
73+
uses: "ramsey/composer-install@v3"
7474
with:
7575
dependency-versions: "${{ matrix.dependency-versions }}"
7676

7777
- name: Composer install php-cs-fixer
78-
uses: "ramsey/composer-install@v2"
78+
uses: "ramsey/composer-install@v3"
7979
with:
8080
composer-options: "--no-scripts --working-dir=tools/php-cs-fixer"
8181

8282
- name: Composer install twigcs
83-
uses: "ramsey/composer-install@v2"
83+
uses: "ramsey/composer-install@v3"
8484
with:
8585
composer-options: "--no-scripts --working-dir=tools/twigcs"
8686

.github/workflows/ci-static-analysis.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
-
2323
name: Checkout code
24-
uses: "actions/checkout@v3"
24+
uses: "actions/checkout@v4"
2525

2626
-
2727
name: Install PHP
@@ -35,13 +35,13 @@ jobs:
3535

3636
-
3737
name: Composer install
38-
uses: "ramsey/composer-install@v2"
38+
uses: "ramsey/composer-install@v3"
3939
with:
4040
composer-options: "--no-scripts"
4141

4242
-
4343
name: Composer install php-cs-fixer
44-
uses: "ramsey/composer-install@v2"
44+
uses: "ramsey/composer-install@v3"
4545
with:
4646
composer-options: "--no-scripts --working-dir=tools/php-cs-fixer"
4747

@@ -64,17 +64,17 @@ jobs:
6464
php-version: 8.2
6565

6666
- name: Install Composer Dependencies
67-
uses: "ramsey/composer-install@v2"
67+
uses: "ramsey/composer-install@v3"
6868
with:
6969
composer-options: "--no-scripts"
7070

7171
- name: Install PHPStan
72-
uses: "ramsey/composer-install@v2"
72+
uses: "ramsey/composer-install@v3"
7373
with:
7474
composer-options: "--no-scripts --working-dir=tools/phpstan"
7575

7676
- name: Install Optional Dependencies
77-
uses: "ramsey/composer-install@v2"
77+
uses: "ramsey/composer-install@v3"
7878
with:
7979
composer-options: "--no-scripts --working-dir=tools/phpstan/includes"
8080

.github/workflows/ci-windows.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ jobs:
4646
extensions: pdo, pdo_sqlite
4747

4848
- name: Composer Install
49-
uses: "ramsey/composer-install@v2"
49+
uses: "ramsey/composer-install@v3"
5050
with:
5151
dependency-versions: "${{ matrix.dependency-versions }}"
5252

5353
- name: Composer install php-cs-fixer
54-
uses: "ramsey/composer-install@v2"
54+
uses: "ramsey/composer-install@v3"
5555
with:
5656
composer-options: "--no-scripts --working-dir=tools/php-cs-fixer"
5757

5858
- name: Composer install twigcs
59-
uses: "ramsey/composer-install@v2"
59+
uses: "ramsey/composer-install@v3"
6060
with:
6161
composer-options: "--no-scripts --working-dir=tools/twigcs"
6262

0 commit comments

Comments
 (0)