Skip to content

Commit

Permalink
chore: bump GH action versions (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksaveras authored May 9, 2024
1 parent c1e3d7e commit 34f49c0
Show file tree
Hide file tree
Showing 10 changed files with 3,967 additions and 22 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/coding-standards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -23,7 +21,7 @@ jobs:
tools: composer:v2,cs2pr

- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
composer-options: --prefer-dist --optimize-autoloader

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
uses: actions/checkout@v4

- name: Install PHP with PCOV
uses: shivammathur/setup-php@v2
Expand All @@ -41,7 +39,7 @@ jobs:
if: ${{ matrix.stability == 'stable' }}

- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: --prefer-dist --optimize-autoloader
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Code Coverage Report
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:

name: Release
steps:
- uses: tibdex/github-app-token@v1
id: generate-token
- uses: actions/create-github-app-token@v1
id: app-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- uses: google-github-actions/release-please-action@v2
id: release
with:
token: ${{ steps.generate-token.outputs.token }}
token: ${{ steps.app-token.outputs.token }}
package-name: ""
release-type: php
default-branch: main
6 changes: 2 additions & 4 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -23,7 +21,7 @@ jobs:
tools: composer:v2

- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
composer-options: --prefer-dist --optimize-autoloader

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
/.php-cs-fixer.cache
/.phpunit.result.cache
/phpunit.xml
/composer.lock
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"symfony/clock": "^6.3|^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"friendsofphp/php-cs-fixer": "^3.56",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.1",
Expand Down
Loading

0 comments on commit 34f49c0

Please sign in to comment.