-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (46 loc) · 1.22 KB
/
ci.yaml
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
46
name: ci
on: [push]
env:
GOBIN: /opt/bin
jobs:
tests-connect-native:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: connect-native
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
stable: true
go-version: 1.21.3
- name: Vet
run: |
go vet ./...
- name: Tests
run: |
go test -race -v ./...
- name: Compile
run: |
go build -o $GOBIN/uuid-api cmds/uuid-api/main.go
go build -o $GOBIN/uuid-fe cmds/uuid-fe/main.go
tests-grpc-checks:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: grpc-checks
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
stable: true
go-version: 1.21.3
- name: Vet
run: |
go vet ./...
- name: Tests
run: |
go test -race -v ./...
- name: Compile
run: |
go build -o $GOBIN/grpc-checks main.go