Skip to content

Commit

Permalink
minor #1647 ci: fix github action deprecations (Chris8934)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 1.x-dev branch.

Discussion
----------

ci: fix github action deprecations

Commits
-------

af5bcb7 ci: fix github action deprecations
  • Loading branch information
kbond committed Jan 14, 2025
2 parents fa6bd4f + af5bcb7 commit 2237542
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Create cache dir"
run: mkdir .cache
Expand All @@ -30,12 +30,12 @@ jobs:
id: extract_base_branch

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

- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst:1.61.1
uses: docker://oskarstark/doctor-rst:1.64.0
with:
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
6 changes: 3 additions & 3 deletions .github/workflows/ci-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Composer install
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependency-versions }}"

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

- name: Composer install twigcs
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: "--no-scripts --working-dir=tools/twigcs"

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
-
name: Checkout code
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

-
name: Install PHP
Expand All @@ -35,13 +35,13 @@ jobs:

-
name: Composer install
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: "--no-scripts"

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

Expand All @@ -64,17 +64,17 @@ jobs:
php-version: 8.2

- name: Install Composer Dependencies
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: "--no-scripts"

- name: Install PHPStan
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: "--no-scripts --working-dir=tools/phpstan"

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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ jobs:
extensions: pdo, pdo_sqlite

- name: Composer Install
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependency-versions }}"

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

- name: Composer install twigcs
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: "--no-scripts --working-dir=tools/twigcs"

Expand Down

0 comments on commit 2237542

Please sign in to comment.