chore(deps): bump github.com/gonative-cc/workers/api/btcindexer from 0.0.0-20251125143753-52dc520d5a41 to 0.1.1 #1083
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, labeled] | |
| merge_group: | |
| types: [checks_requested] | |
| concurrency: | |
| group: ci-${{ github.ref }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: technote-space/get-diff-action@v6.1.2 | |
| with: | |
| PATTERNS: | | |
| **/**.go | |
| FILES: | | |
| go.mod | |
| go.sum | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libzmq3-dev pkg-config | |
| - name: Compile | |
| if: env.GIT_DIFF | |
| run: | | |
| go mod download | |
| make build | |
| test-unit-cover: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: technote-space/get-diff-action@v6.1.2 | |
| with: | |
| PATTERNS: | | |
| **/**.go | |
| FILES: | | |
| go.mod | |
| go.sum | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libzmq3-dev pkg-config | |
| - uses: actions/setup-go@v6 | |
| if: env.GIT_DIFF | |
| with: | |
| go-version: "1.24" | |
| cache: true | |
| - name: Test and Create Coverage Report | |
| if: env.GIT_DIFF | |
| run: | | |
| EXPERIMENTAL=true make test-unit | |
| # EXPERIMENTAL=true make test-unit-cover | |
| # - uses: codecov/codecov-action@v4.6.0 | |
| # if: env.GIT_DIFF | |
| # with: | |
| # token: ${{ secrets.CODECOV_TOKEN }} | |
| # file: ./coverage.txt | |
| # fail_ci_if_error: true | |
| # verbose: true | |
| # test-e2e: | |
| # # skip the e2e tests when `skip-e2e-test` label is present on pull request | |
| # if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e-test') }} | |
| # runs-on: ubuntu-latest | |
| # timeout-minutes: 25 | |
| # steps: | |
| # - uses: actions/checkout@v6 | |
| # - uses: technote-space/get-diff-action@v6.1.2 | |
| # with: | |
| # PATTERNS: | | |
| # **/**.go | |
| # FILES: | | |
| # go.mod | |
| # go.sum | |
| # - uses: actions/setup-go@v6 | |
| # if: env.GIT_DIFF | |
| # with: | |
| # go-version: "1.23" | |
| # cache: true | |
| # - name: Test E2E | |
| # if: env.GIT_DIFF | |
| # run: | | |
| # make test-e2e |