chore(deps): bump github.com/ethereum/go-ethereum from 1.14.2 to 1.16.8 #1986
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: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| jobs: | |
| install-tparse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-go-version: '1.23' | |
| - name: Display Go Version | |
| run: go version | |
| - uses: actions/cache@v4 | |
| id: cache-go-tparse | |
| with: | |
| path: ~/go/bin | |
| key: ${{ runner.os }}-go-tparse-binary | |
| - name: Install tparse | |
| if: steps.cache-go-tparse.outputs.cache-hit != 'true' | |
| run: | | |
| go install github.com/mfridman/tparse@v0.11.1 | |
| test-unit-cover: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: technote-space/get-diff-action@v6.1.2 | |
| with: | |
| PATTERNS: | | |
| **/**.go | |
| go.mod | |
| go.sum | |
| - uses: actions/setup-go@v5 | |
| if: env.GIT_DIFF | |
| with: | |
| go-go-version: '1.23' | |
| cache: true | |
| - name: Test and Create Coverage Report | |
| if: env.GIT_DIFF | |
| run: | | |
| make test-unit-cover | |
| - uses: codecov/codecov-action@v5 | |
| if: env.GIT_DIFF | |
| with: | |
| file: ./coverage.txt | |
| fail_ci_if_error: true | |
| build-ojod: | |
| uses: ./.github/workflows/build.yml | |
| liveness-test: | |
| needs: build-ojod | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: technote-space/get-diff-action@v6.1.2 | |
| id: git_diff | |
| with: | |
| PATTERNS: | | |
| **/**.go | |
| go.mod | |
| go.sum | |
| - name: gets ojod bin | |
| if: env.GIT_DIFF | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: ojod-linux-amd64 | |
| path: ./build | |
| - name: Start single node chain | |
| if: env.GIT_DIFF | |
| run: | | |
| chmod +x ./build/ojod | |
| ./scripts/single-node.sh | |
| - name: Test Local Network Liveness | |
| if: env.GIT_DIFF | |
| run: | | |
| sleep 1m | |
| ./scripts/localnet-liveness.sh 50 5 50 localhost:26657 | |
| test-e2e: | |
| runs-on: ubuntu-latest | |
| needs: install-tparse | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: technote-space/get-diff-action@v6.1.2 | |
| with: | |
| PATTERNS: | | |
| **/**.go | |
| go.mod | |
| go.sum | |
| - uses: actions/setup-go@v5 | |
| if: env.GIT_DIFF | |
| with: | |
| go-go-version: '1.23' | |
| cache: true | |
| - name: Test E2E | |
| if: env.GIT_DIFF | |
| run: | | |
| make test-e2e |