Skip to content

Commit

Permalink
composer update (#19)
Browse files Browse the repository at this point in the history
* composer update
* bump php version
* remove dead repo
  • Loading branch information
ildyria authored Mar 2, 2024
1 parent 1fcc014 commit 8132b18
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 536 deletions.
38 changes: 3 additions & 35 deletions .github/workflows/test-impact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
tools: phpstan
env:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
tools: phpstan
env:
Expand All @@ -89,38 +89,6 @@ jobs:
- name: Run PHPStan
run: vendor/bin/phpstan analyze

execute_php_flickr:
name: 1️⃣ PHP - php-flickr-justified-layout
runs-on: ubuntu-latest
needs:
- kill_previous
steps:
- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
tools: phpstan
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout code
uses: actions/checkout@v3
with:
repository: 'LycheeOrg/php-flickr-justified-layout'

- name: Fix composer.json
run: composer require --dev -W "lychee-org/phpstan-lychee":"dev-${{ steps.extract_branch.outputs.branch }}"

- name: Run PHPStan
run: composer phpstan


execute_nested_sets:
if: ${{ false }} # disable for now
name: 1️⃣ PHP - Nested sets
Expand All @@ -136,7 +104,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
tools: phpstan
env:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"config": {
"platform": {
"php": "8.1"
"php": "8.2"
},
"preferred-install": "dist",
"sort-packages": true,
Expand Down
Loading

0 comments on commit 8132b18

Please sign in to comment.