Skip to content

chore(deps): bump github.com/bufbuild/buf from 1.31.0 to 1.32.0 #1560

chore(deps): bump github.com/bufbuild/buf from 1.31.0 to 1.32.0

chore(deps): bump github.com/bufbuild/buf from 1.31.0 to 1.32.0 #1560

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
- release/**
jobs:
install-tparse:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21.1'
- 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/[email protected]
test-unit-cover:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v5
if: env.GIT_DIFF
with:
go-version: '1.21.1'
cache: true
- name: Test and Create Coverage Report
if: env.GIT_DIFF
run: |
make test-unit-cover
- uses: codecov/codecov-action@v4
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/[email protected]
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/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v5
if: env.GIT_DIFF
with:
go-version: '1.21.1'
cache: true
- name: Test E2E
if: env.GIT_DIFF
run: |
make test-e2e