This repository was archived by the owner on Jul 14, 2026. It is now read-only.
fix(deps): update module github.com/onsi/gomega to v1.42.1 #473
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| permissions: | |
| contents: write | |
| id-token: write | |
| issues: write | |
| packages: write | |
| pull-requests: write | |
| attestations: write | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| uses: platform-mesh/.github/.github/workflows/job-golang-lint.yml@main | |
| with: | |
| useMake: true | |
| test: | |
| uses: platform-mesh/.github/.github/workflows/job-golang-test-source.yml@main | |
| secrets: inherit | |
| with: | |
| useMake: true | |
| useLocalCoverageConfig: true | |
| docker-build: | |
| if: github.event_name == 'pull_request' | |
| uses: platform-mesh/.github/.github/workflows/job-docker-build-push.yml@main | |
| with: | |
| imageTagName: ghcr.io/platform-mesh/example-httpbin-operator | |
| secrets: inherit | |
| quality-gate: | |
| if: always() | |
| permissions: {} | |
| needs: [lint, test, docker-build] | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 1 | |
| steps: | |
| - name: Check results | |
| run: | | |
| if [[ "${{ needs.lint.result }}" != "success" ]]; then | |
| echo "lint failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.test.result }}" != "success" ]]; then | |
| echo "test failed" | |
| exit 1 | |
| fi | |
| # docker-build is skipped on main pushes — allow skipped | |
| if [[ "${{ needs.docker-build.result }}" != "success" && "${{ needs.docker-build.result }}" != "skipped" ]]; then | |
| echo "docker-build failed" | |
| exit 1 | |
| fi | |
| create-version: | |
| if: github.ref == 'refs/heads/main' | |
| uses: platform-mesh/.github/.github/workflows/job-create-version.yml@main | |
| secrets: inherit | |
| docker-build-push: | |
| if: github.ref == 'refs/heads/main' | |
| needs: [create-version, lint, test] | |
| uses: platform-mesh/.github/.github/workflows/job-docker-build-push.yml@main | |
| with: | |
| imageTagName: ghcr.io/platform-mesh/example-httpbin-operator | |
| version: ${{ needs.create-version.outputs.version }} | |
| multiarch: true | |
| secrets: inherit | |
| update-version: | |
| if: github.ref == 'refs/heads/main' | |
| needs: [create-version, docker-build-push] | |
| uses: platform-mesh/.github/.github/workflows/job-chart-version-update.yml@main | |
| secrets: inherit | |
| with: | |
| appVersion: ${{ needs.create-version.outputs.version }} | |
| chart: example-httpbin-operator | |
| targetRepository: platform-mesh/helm-charts | |
| sbom: | |
| if: github.ref == 'refs/heads/main' | |
| needs: [create-version, docker-build-push] | |
| uses: platform-mesh/.github/.github/workflows/job-sbom.yml@main | |
| with: | |
| imageReference: ghcr.io/platform-mesh/example-httpbin-operator:${{ needs.create-version.outputs.version }} | |
| image-ocm: | |
| if: github.ref == 'refs/heads/main' | |
| needs: [create-version, docker-build-push, sbom] | |
| uses: platform-mesh/.github/.github/workflows/job-image-ocm.yml@main | |
| secrets: inherit | |
| with: | |
| imageReference: ghcr.io/platform-mesh/example-httpbin-operator:${{ needs.create-version.outputs.version }} | |
| appVersion: ${{ needs.create-version.outputs.version }} | |
| repoName: example-httpbin-operator | |
| commit: ${{ github.sha }} |