-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 926 Bytes
/
ci.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
name: ci
on:
push:
branches:
- main
pull_request:
defaults:
run:
shell: bash
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: run protolint
uses: plexsystems/[email protected]
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: Install protoc-gen-go
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
- name: Install protoc-gen-go-vtproto
run: go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@latest
- name: generate language files
run: make build clean
env:
GOPATH: /home/runner/go