-
Notifications
You must be signed in to change notification settings - Fork 358
45 lines (36 loc) · 966 Bytes
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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"
workflow_dispatch:
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.22
- 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