Skip to content

Commit b65c890

Browse files
eypsilonclaude
andcommitted
Fix GitHub Actions workflow configuration
- Remove deprecated --no-suggest flag from composer install - Simplify PHPStan step: remove unnecessary conditional logic and || true - Ensure PHPStan failures properly fail the CI build - Clean up workflow to match actual project structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent b85d300 commit b65c890

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,10 @@ jobs:
3232
${{ runner.os }}-composer-
3333
3434
- name: Install dependencies
35-
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction
35+
run: composer install --prefer-dist --no-progress --no-interaction
3636

3737
- name: Run PHPStan (level 8)
38-
# adjust path or config if needed
39-
run: |
40-
if [ -f phpstan.neon ]; then
41-
./vendor/bin/phpstan analyse --configuration=phpstan.neon --level=8 src tests || true
42-
else
43-
./vendor/bin/phpstan analyse --level=8 src tests || true
44-
fi
38+
run: ./vendor/bin/phpstan analyse --level=8 src/
4539

4640
- name: Run tests
4741
# try PHPUnit first; adjust if you use Pest or other runner

0 commit comments

Comments
 (0)