docs: fix broken /dashboard link (renders footer-only, migration unsh… #3
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: Build and test | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-test: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| - name: Install | |
| run: composer install --no-interaction --prefer-dist | |
| - name: Test | |
| env: | |
| VIRTUALSMS_TEST_API_KEY: ${{ secrets.VIRTUALSMS_TEST_API_KEY }} | |
| run: composer test || vendor/bin/phpunit |