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