when: event: - push - pull_request branch: - main steps: format: image: golang:1.24 commands: - make format - git diff --exit-code # Fail if files were changed lint-goreleaser: image: goreleaser/goreleaser:latest commands: - goreleaser check lint: image: golang:1.24 commands: - make ci-lint test: image: golang:1.24 commands: - make test e2e: image: golang:1.24 environment: TESTCONTAINERS_RYUK_DISABLED: true DOCKER_HOST: unix:///var/run/docker.sock volumes: - /var/run/docker.sock:/var/run/docker.sock commands: # Install system dependencies - apt-get update && apt-get install -y docker.io curl unzip # Install Bun for webapp build - curl -fsSL https://bun.sh/install | bash - export PATH="$HOME/.bun/bin:$PATH" # Install Playwright browsers - go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps chromium # Run e2e tests - make e2e when: status: [success, failure]