fix workflows #1296
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: | |
| workflow_call: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Golang CI Lint | |
| uses: ./.github/workflows/golangci-lint.yaml | |
| secrets: inherit | |
| update-swagger: | |
| name: Update Swagger | |
| uses: ./.github/workflows/update-swagger.yaml | |
| secrets: inherit | |
| unit-tests: | |
| name: Go Unit Tests | |
| uses: ./.github/workflows/tests.yaml | |
| secrets: inherit | |
| build-docker: | |
| name: Build Docker Images | |
| uses: ./.github/workflows/docker-build.yaml | |
| secrets: inherit | |
| e2e-tests: | |
| name: E2E tests | |
| needs: | |
| - lint | |
| - update-swagger | |
| - unit-tests | |
| - build-docker | |
| uses: ./.github/workflows/e2e-tests.yaml | |
| secrets: inherit |