Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -38,7 +38,7 @@ jobs:
fail-fast: true

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
composer-options: "--no-dev"
# Bust the cache at least once a month - output format: YYYY-MM.
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Show info about the build phar with box-project/box
run: php box.phar info -l parallel-lint.phar

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: parallel-lint-phar
path: ./parallel-lint.phar
Expand Down Expand Up @@ -89,9 +89,9 @@ jobs:

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

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: parallel-lint-phar

Expand All @@ -113,7 +113,7 @@ jobs:
- verify

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: parallel-lint-phar

Expand All @@ -129,7 +129,7 @@ jobs:

- name: Upload Phar as Release Asset
id: upload-release-asset
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
tools: cs2pr

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
# Bust the cache at least once a month - output format: YYYY-MM.
custom-cache-suffix: $(date -u "+%Y-%m")
Expand All @@ -50,7 +50,7 @@ jobs:

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -65,7 +65,7 @@ jobs:
fail-fast: true

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
composer-options: "--no-dev"
# Bust the cache at least once a month - output format: YYYY-MM.
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Show info about the build phar with box-project/box
run: php box.phar info -l parallel-lint.phar

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: parallel-lint-phar
path: ./parallel-lint.phar
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -133,14 +133,14 @@ jobs:

- name: Install Composer dependencies
if: ${{ matrix.php != '8.4' }}
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
# Bust the cache at least once a month - output format: YYYY-MM.
custom-cache-suffix: $(date -u "+%Y-%m")

- name: "Install Composer dependencies (PHP 8.4, ignore PHP reqs)"
if: ${{ matrix.php == '8.4' }}
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
composer-options: --ignore-platform-req=php
custom-cache-suffix: $(date -u "+%Y-%m")
Expand All @@ -155,7 +155,7 @@ jobs:
- name: 'Run unit tests'
run: composer test

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: parallel-lint-phar

Expand Down