feat: multi region replica strike implementation #5
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
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "**/*.md" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.14.0' | |
- name: Setup GO environment | |
run: | | |
go mod download | |
go get -t . | |
- name: Lint | |
run: | | |
golint -set_exit_status ./... | |
- name: Vet | |
run: | | |
go vet ./... | |
- name: Unit tests | |
run: | | |
sudo go test ./... -coverprofile coverage.out -covermode count | |
sudo go tool cover -func coverage.out | |
- name: Build | |
run: | | |
go build -o wireframe |