feat: move entity relation map to vuejs #1104
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Fix Code Style & Duplication Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| paths: | |
| - '**.php' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.php' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Give the default GITHUB_TOKEN write permission to commit and push the | |
| # added or changed files to the repository. | |
| contents: write | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| php: [8.4] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: json, dom, curl, libxml, mbstring | |
| coverage: none | |
| - name: Install Pint | |
| run: composer global require laravel/pint | |
| - name: Run Pint | |
| run: pint | |
| # can't run this in a github action | |
| # - name: Run PHPCPD | |
| # run: ./vendor/bin/phpcpd app/ --min-lines=5 --min-tokens=70 | |
| - name: Auto-commit fixes | |
| uses: stefanzweifel/git-auto-commit-action@v6 | |
| with: | |
| commit_message: Fix styling |