Skip to content

Commit bd507f9

Browse files
committed
docs: simplify GitHub Actions section to avoid doc duplication
Remove inline YAML example and instead reference the official GitHub Action repository for setup instructions. This prevents documentation drift and ensures users always get the most up-to-date configuration examples from the authoritative source.
1 parent 2a1f19b commit bd507f9

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

README.md

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -572,37 +572,10 @@ $rules[] = Rule::allClasses()
572572

573573
You can easily integrate PHPArkitect into your CI/CD pipeline using the official GitHub Action.
574574

575-
Add this to your `.github/workflows/arkitect.yml`:
575+
For setup instructions and usage examples, please refer to the official documentation:
576576

577-
```yaml
578-
name: Arkitect
579-
580-
on:
581-
pull_request:
582-
push:
583-
branches:
584-
- main
585-
586-
jobs:
587-
arkitect:
588-
runs-on: ubuntu-latest
589-
name: Arkitect
590-
steps:
591-
- uses: actions/checkout@v4
592-
593-
- name: Run Arkitect
594-
uses: docker://phparkitect/arkitect-github-actions
595-
env:
596-
PHP_VERSION: '8.2'
597-
with:
598-
args: check
599-
```
600-
601-
**Resources:**
602-
- [GitHub Action Repository](https://github.com/phparkitect/arkitect-github-actions)
603-
- [GitHub Marketplace](https://github.com/marketplace/actions/phparkitect-arkitect)
604-
605-
The action supports multiple PHP versions through the `PHP_VERSION` environment variable.
577+
- [GitHub Action Repository](https://github.com/phparkitect/arkitect-github-actions) - Complete setup guide and examples
578+
- [GitHub Marketplace](https://github.com/marketplace/actions/phparkitect-arkitect) - Action listing
606579

607580
## Laravel
608581

0 commit comments

Comments
 (0)