Add make check target and CI workflow #36

Open
clawbot wants to merge 5 commits from add-make-check into next
Showing only changes of commit 4f7459d509 - Show all commits

View File

@ -13,9 +13,9 @@ jobs:
with: with:
go-version-file: go.mod go-version-file: go.mod
- name: Install golangci-lint - name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@5d1e709b7be35cb2025444e19de266b056b7b7ee # v2.10.1
- name: Install protoc-gen-go - name: Install protoc-gen-go
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1 run: go install google.golang.org/protobuf/cmd/protoc-gen-go@4dfe9d308b477d29e8c2b6d75abf3e78aafe3cb8 # v1.28.1
- name: Generate protobuf - name: Generate protobuf
run: | run: |
sudo apt-get update && sudo apt-get install -y protobuf-compiler sudo apt-get update && sudo apt-get install -y protobuf-compiler