diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1a17fb1..7d2e835 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -24,8 +24,8 @@ jobs: with: go-version: '1.21' - - name: Install protoc-gen-go - run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + - name: Set up Dependencies + run: make setup - name: Build run: make build diff --git a/Makefile b/Makefile index 1e80d70..1b8648f 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,8 @@ run: build .PHONY: play play: build ./honeyssh playground + +.PHONY: setup +setup: + go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + go install github.com/mitchellh/protoc-gen-go-json@latest \ No newline at end of file