From 6ee9a618573635751ccc429861fe400ea0ace8d4 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Fri, 2 Aug 2024 16:27:38 +1000 Subject: [PATCH] fix --- .github/workflows/ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2af8cf1..11fceef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,19 @@ on: - '**' jobs: - lint_test: + lint: + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.21.4' + - name: Run Lint + run: make lint + + test: uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 with: run-unit-tests: true @@ -17,6 +29,7 @@ jobs: docker_pipeline: uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + needs: ["lint", "test"] secrets: inherit with: publish: false