f2 api client #21
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: Mago | |
| env: | |
| COMPOSE_USER: runner | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| # https://mago.carthage.software/latest/en/guide/getting-started/ | |
| mago: | |
| name: Mago | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - run: | | |
| docker compose run --rm phpfpm composer install | |
| - run: | | |
| docker compose run --rm mago lint | |
| mago-format: | |
| name: Mago - format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - run: | | |
| docker compose run --rm phpfpm composer install | |
| - run: | | |
| docker compose run --rm mago format --check | |
| mago-analyze: | |
| name: Mago - analyze | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - run: | | |
| docker compose run --rm phpfpm composer install | |
| - run: | | |
| docker compose run --rm mago analyze |