name: Go on: push: branches: [ master ] pull_request: branches: [ '*' ] jobs: check: name: Check runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Go mod tidy checker id: gomodtidy uses: ./.github/actions/gomodtidy - name: Gofmt checker id: gofmt uses: ./.github/actions/gofmt with: path: ./ build: name: Build runs-on: ubuntu-latest steps: - name: Set up Go 1.x uses: actions/setup-go@v2 with: go-version: ^1.14 id: go - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: Get dependencies run: | go get -v -t -d ./... - name: Build # Use blst tag to allow go and bazel builds for blst. run: go build -v --tags=blst_enabled ./... # Tests run via Bazel for now... # - name: Test # run: go test -v ./...