From f031aa15bebd91d2919087e7c459b722817dc585 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 12 Jun 2023 17:26:48 +0300 Subject: [PATCH] ci: add `fmt` and `lint` to required tests --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ee4fddb1e072..bc609f8bf7e5f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -565,7 +565,7 @@ jobs: required: runs-on: ubuntu-latest - needs: [gen, test-go, test-go-pg, test-go-race, test-js] + needs: [fmt, lint, gen, test-go, test-go-pg, test-go-race, test-js] # Allow this job to run even if the needed jobs fail, are skipped or # cancelled. if: always() @@ -573,6 +573,8 @@ jobs: - name: Ensure required checks run: | echo "Checking required checks" + echo "- fmt: ${{ needs.fmt.result }}" + echo "- lint: ${{ needs.lint.result }}" echo "- gen: ${{ needs.gen.result }}" echo "- test-go: ${{ needs.test-go.result }}" echo "- test-go-pg: ${{ needs.test-go-pg.result }}"