From 646517c85c0b6cfb82dc61ff0b7284750d5be561 Mon Sep 17 00:00:00 2001 From: ysugimoto Date: Sun, 28 Apr 2024 02:10:22 +0900 Subject: [PATCH] fix actions --- .github/workflows/build.yml | 5 +++-- go.mod | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69af6e8..e92fbc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,6 @@ jobs: sudo chmod +xr -R /usr/local/protoc sudo ln -s /usr/local/protoc/bin/protoc /usr/local/bin sudo ln -s /usr/local/protoc/include/google /usr/local/include/google - go get -u github.com/golang/protobuf/protoc-gen-go - name: Lint programs uses: golangci/golangci-lint-action@v3 with: @@ -35,6 +34,8 @@ jobs: skip-build-cache: true skip-go-installation: true - name: Build app - run: make all tag=ci + run: | + go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0 + make all tag=ci diff --git a/go.mod b/go.mod index d749aaa..c37dd44 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ysugimoto/grpc-graphql-gateway -go 1.15 +go 1.21 require ( github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0