diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11fceef..3e9b923 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - '**' jobs: - lint: + lint_test: runs-on: ubuntu-22.04 steps: - name: Checkout repository @@ -17,19 +17,14 @@ jobs: 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 - run-integration-tests: true - run-lint: false - integration-tests-command: | - make test-e2e + - name: Run Unit Tests + run: make test + - name: Run Integration Tests + run: make test-e2e docker_pipeline: uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 - needs: ["lint", "test"] + needs: ["lint_test"] secrets: inherit with: publish: false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f9dd06c..ceb0921 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ on: - '*' jobs: - lint: + lint_test: runs-on: ubuntu-22.04 steps: - name: Checkout repository @@ -20,19 +20,14 @@ jobs: go-version: '1.21.4' - name: Run Lint run: make lint + - name: Run Unit Tests + run: make test + - name: Run Integration Tests + run: make test-e2e - test: - uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 - with: - run-unit-tests: true - run-integration-tests: true - run-lint: false - integration-tests-command: | - make test-e2e - docker_pipeline: uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 - needs: ["lint", "test"] + needs: ["lint_test"] secrets: inherit with: publish: true