diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index b422d320f45..c3cda76406c 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -8,6 +8,7 @@ on: - 'v[0-9]+\.[0-9]+\.[0-9]+' - 'v[0-9]+\.[0-9]+\.[0-9]+-rc(?:[0-9]+|\.[0-9]+)' pull_request: + merge_group: workflow_dispatch: # Inputs the workflow accepts. inputs: @@ -26,12 +27,12 @@ jobs: lint: uses: ./.github/workflows/lint.yml with: - GO_VERSION: '1.20' + GO_VERSION: "1.20" test: uses: ./.github/workflows/test.yml with: - GO_VERSION: '1.20' + GO_VERSION: "1.20" proto: uses: ./.github/workflows/proto.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1ec839e774..7664722067f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ on: workflow_call: inputs: GO_VERSION: - description: 'Go version to use' + description: "Go version to use" type: string required: true @@ -23,7 +23,7 @@ jobs: # run: git diff --exit-code unit_test: - name: Unit Tests Coverage + name: Run Unit Tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -31,9 +31,9 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ inputs.GO_VERSION }} - - name: Test & Coverage + - name: Run unit test run: make test-unit - - name: upload coverage + - name: upload coverage report uses: codecov/codecov-action@v3.1.3 with: token: ${{ secrets.CODECOV_TOKEN }}