kava v0.25.1; ethermint v0.21.0-kava-v24-0 #13
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 Test | |
on: | |
push: | |
branches: | |
- master | |
- 'mamoru*' | |
- develop | |
pull_request: | |
branches: | |
- master | |
- 'mamoru*' | |
- develop | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- run: go version | |
- name: Cache Go modules and build cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Setup SSH for Private Repository Access | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.MAMORU_ETHERMINT_SSH_PRIVATE_KEY }} | |
- name: Test and Build with Makefile | |
run: | | |
export GOPRIVATE=github.com/Mamoru-Foundation/* | |
go mod download | |
make build |