blob: 58d1fa2452cedc2efd0ca2f0099e148481c29ea1 [file] [log] [blame]
name: Go
on:
push:
branches-ignore:
# Version 1.0 does not work with the "go" tool properly.
- "1.0"
pull_request:
branches-ignore:
# Version 1.0 does not work with the "go" tool properly.
- "1.0"
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Build go
run: go build -mod=mod -v ./...
working-directory: ./go
- name: Test go
run: go test -mod=mod -v ./...
working-directory: ./go
- name: Build examples/go
run: go build -mod=mod -v ./...
working-directory: ./examples/go
- name: Build privacy-on-beam
run: go build -mod=mod -v ./...
working-directory: ./privacy-on-beam
- name: Test privacy-on-beam
run: go test -mod=mod -v ./...
working-directory: ./privacy-on-beam