Skip to content

Commit

Permalink
version 1.0.2 to avoid dev dependency (#18)
Browse files Browse the repository at this point in the history
* version 1.0.2 to avoid dev dependency
  • Loading branch information
ildyria authored May 25, 2023
1 parent 08a1195 commit 1fcc014
Show file tree
Hide file tree
Showing 4 changed files with 183 additions and 184 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test-impact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,38 @@ 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 Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor/

.php-cs-fixer.cache
.php-cs-fixer.cache
.vscode
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"phpstan/phpstan-strict-rules": "^1.4",
"slam/phpstan-extensions": "^6.0",
"squizlabs/php_codesniffer": "^3.5",
"symplify/phpstan-rules": "main-dev",
"symplify/phpstan-rules": "12.0.2",
"thecodingmachine/phpstan-safe-rule": "^1.2"
},
"scripts": {
Expand Down
Loading

0 comments on commit 1fcc014

Please sign in to comment.