mirror of
https://github.com/libp2p/go-libp2p.git
synced 2026-04-22 16:17:19 +08:00
ci: run go generate as part of the go-check workflow (#1986)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Protoc
|
||||
uses: trail-of-forks/setup-protoc@a97892a429d98fae78d26f40334ab7eb616d08b9 # include https://github.com/arduino/setup-protoc/pull/58
|
||||
with:
|
||||
version: '21.12'
|
||||
- name: Install Protobuf compiler
|
||||
shell: bash
|
||||
run: go install google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"gogenerate": true
|
||||
}
|
||||
Reference in New Issue
Block a user