Skip to content

[Upgrade] Alpha TestNet v0.0.10 upgrade #4716

[Upgrade] Alpha TestNet v0.0.10 upgrade

[Upgrade] Alpha TestNet v0.0.10 upgrade #4716

Workflow file for this run

name: Run tests
on:
push:
branches: ["main"]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
env:
GKE_CLUSTER: protocol-us-central1
GKE_ZONE: us-central1
jobs:
go-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147
- name: install ignite
run: make ignite_install
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23.0"
- name: Install CI dependencies
run: make install_ci_deps
# This is commented out because proto generated code is now tracked in the
# repo so this step is skipped.
# TODO_IMPROVE(@okdas): Have a step that regenerates the proto files and ensures
# if they are up to date. See https://github.com/pokt-network/poktroll/pull/544#issuecomment-2123063491
# - name: Generate protobufs
# run: make proto_regen
- name: Generate mocks
run: make go_mockgen
- name: Verify all proto files have stable marshaler configured
run: make check_proto_unstable_marshalers
- name: Run golangci-lint
run: make go_lint
- name: Test
run: make test_all