diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8b500e9..0d6925c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Cache Tools id: cache-tools - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | bin @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Set up Docker Buildx @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - run: make test MYSQL_VERSION=${{ matrix.mysql-version }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8389c73..b5371f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make build/moco-agent diff --git a/Makefile b/Makefile index c0578ba..b358778 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -MYSQL_VERSION = 8.0.28 +MYSQL_VERSION = 8.0.37 # For Go GOOS := $(shell go env GOOS) @@ -18,7 +18,7 @@ PROTOC_BIN := $(PWD)/bin/protoc PROTOC_GEN_GO := $(PWD)/bin/protoc-gen-go PROTOC_GEN_GO_GRPC := $(PWD)/bin/protoc-gen-go-grpc PROTOC_GEN_DOC := $(PWD)/bin/protoc-gen-doc -PROTOC_VERSION := 25.1 +PROTOC_VERSION := 26.1 PROTOC_GEN_GO_VERSION := $(shell awk '/google.golang.org\/protobuf/ {print substr($$2, 2)}' go.mod) PROTOC_GEN_GO_GRPC_VERSON=1.3.0 PROTOC_GEN_DOC_VERSION=1.5.1 diff --git a/go.mod b/go.mod index be26695..7c210bc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cybozu-go/moco-agent -go 1.21 +go 1.22.3 require ( github.com/cybozu-go/well v1.11.2 diff --git a/proto/agentrpc.pb.go b/proto/agentrpc.pb.go index 4c485aa..caf7648 100644 --- a/proto/agentrpc.pb.go +++ b/proto/agentrpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 -// protoc v4.25.1 +// protoc v5.26.1 // source: proto/agentrpc.proto package proto diff --git a/proto/agentrpc_grpc.pb.go b/proto/agentrpc_grpc.pb.go index 8d56068..f16737e 100644 --- a/proto/agentrpc_grpc.pb.go +++ b/proto/agentrpc_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v4.25.1 +// - protoc v5.26.1 // source: proto/agentrpc.proto package proto