feat: implement get timestamp for tendermint #29
Workflow file for this run
This file contains 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: Build Proto Generated Go Library | |
on: | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- 'libraries/go/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'libraries/go/**' | |
jobs: | |
build: | |
name: Go build | |
runs-on: ubuntu-latest | |
steps: | |
# Clone | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Install and setup go | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
# setup gopath | |
- name: Set PATH | |
run: | | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
shell: bash | |
# proto | |
- name: Make go proto | |
run: make proto-gen-go | |
# build go library | |
- name: Build go libraries | |
run: make gobuild |