Update actions/checkout action to v6.0.2 #3605
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: 'pull-request' | |
| on: | |
| pull_request: | |
| branches: [ 'main', '4.4.x' ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| - "8.5" | |
| services: | |
| db-tests: | |
| image: 'mysql/mysql-server:8.0' | |
| env: | |
| MYSQL_ROOT_PASSWORD: yap_root_password | |
| MYSQL_DATABASE: yap_test | |
| MYSQL_ROOT_HOST: '%' | |
| ports: | |
| - 3106:3306 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| id: code-checkout | |
| - name: Setup PHP | |
| uses: ./.github/actions/setup-php | |
| - name: Install Dependencies | |
| uses: ./.github/actions/install-deps | |
| - name: Lint | |
| uses: ./.github/actions/lint | |
| - name: Test | |
| uses: ./.github/actions/test | |
| env: | |
| GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} | |
| - name: Auto-approve | |
| if: github.actor == 'renovate[bot]' | |
| uses: hmarr/auto-approve-action@v3 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| e2e: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: | |
| - "8.4" | |
| services: | |
| db-tests: | |
| image: 'mysql/mysql-server:8.0' | |
| env: | |
| MYSQL_ROOT_PASSWORD: yap_root_password | |
| MYSQL_DATABASE: yap_test | |
| MYSQL_ROOT_HOST: '%' | |
| ports: | |
| - 3106:3306 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| id: code-checkout | |
| - name: Setup PHP | |
| uses: ./.github/actions/setup-php | |
| - name: Install Dependencies | |
| uses: ./.github/actions/install-deps | |
| - name: E2E Tests | |
| uses: ./.github/actions/e2e-test | |
| env: | |
| GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} |