Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anekkanti committed Sep 25, 2023
1 parent 3f92959 commit a682e0f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI
on: push
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Validate and build go bindings from the proto files
run: make ci-build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ buf-lint:
buf lint

buf-breaking:
@printf $(COLOR) "Run buf breaking changes check against master branch..."
@printf $(COLOR) "Run buf breaking changes check against main branch..."
buf breaking --against '.git#branch=main'

##### Clean #####
Expand Down

0 comments on commit a682e0f

Please sign in to comment.