Fix install bug with double digit versions. #34
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: Go build/test | |
on: [push, pull_request] | |
jobs: | |
build_lint_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Go compiler | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
check-latest: true | |
- name: Build binary | |
run: | | |
make | |
- name: Go test | |
run: | | |
go test -v ./... | |
go test -cpu=2 -race -v ./... |