build(deps): bump go.mod and docker-compose to v5.0.2 (#8045) #1
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: Quickstart test | |
| defaults: | |
| run: | |
| shell: bash | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| paths: | |
| - "docs/content/users/quickstart.md" | |
| - "docs/tests/**" | |
| - "go.*" | |
| - "pkg/**" | |
| - "cmd/**" | |
| - "Makefile" | |
| - "vendor/**" | |
| - ".github/workflows/quickstart.yml" | |
| workflow_dispatch: | |
| inputs: | |
| debug_enabled: | |
| description: 'Enable debug mode' | |
| type: boolean | |
| required: false | |
| default: false | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| permissions: | |
| actions: write | |
| jobs: | |
| build: | |
| name: Docs Quickstart test | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Homebrew | |
| id: set-up-homebrew | |
| uses: Homebrew/actions/setup-homebrew@main | |
| - name: Remove unnecessary items on disk | |
| uses: jlumbroso/free-disk-space@main | |
| with: | |
| tool-cache: false | |
| android: true | |
| dotnet: true | |
| haskell: true | |
| large-packages: false | |
| docker-images: true | |
| swap-storage: true | |
| - name: Install Docker and deps (Linux) | |
| run: ./.github/workflows/linux-setup.sh | |
| # 1password secrets are not available on forked PRs and some other PRs | |
| - name: Load 1password secret(s) magento2 etc if available | |
| if: ${{ env.OP_SERVICE_ACCOUNT_TOKEN != '' }} | |
| uses: 1password/load-secrets-action@v3 | |
| with: | |
| export-env: true | |
| env: | |
| OP_SERVICE_ACCOUNT_TOKEN: "${{ secrets.TESTS_SERVICE_ACCOUNT_TOKEN }}" | |
| MAGENTO2_PUBLIC_ACCESS_KEY: "op://test-secrets/MAGENTO2_ACCESS_KEYS/public_access_key" | |
| MAGENTO2_PRIVATE_ACCESS_KEY: "op://test-secrets/MAGENTO2_ACCESS_KEYS/private_access_key" | |
| - name: Setup tmate session | |
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
| uses: mxschmitt/action-tmate@v3 | |
| with: | |
| limit-access-to-actor: true | |
| - name: Run quickstart test | |
| run: | | |
| brew unlink ddev || true | |
| rm -f ~/.config/ddev | |
| make | |
| unset XDG_CONFIG_HOME | |
| # Use mutagen by default as it may cause different behaviors | |
| $(make DDEV_BINARY_FULLPATH) config global --performance-mode=mutagen | |
| make quickstart-test |