forked from connectrpc/authn-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade go, buf and google.golang.org/protobuf (connectrpc#13)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0. Bumps buf from 1.27.0 to 1.33.0. Migrate buf configuration files to v2. Done by `buf config migrate`. Regenerates the proto files used for testing. Upgrades min supported go version to v1.20.x. Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Edward McFarlane <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edward McFarlane <[email protected]>
- Loading branch information
1 parent
3dbaded
commit 814dd3e
Showing
9 changed files
with
28 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ export PATH := $(BIN):$(PATH) | |
export GOBIN := $(abspath $(BIN)) | ||
COPYRIGHT_YEARS := 2023-2024 | ||
LICENSE_IGNORE := --ignore testdata/ | ||
BUF_VERSION := 1.33.0 | ||
|
||
.PHONY: help | ||
help: ## Describe useful make targets | ||
|
@@ -70,15 +71,15 @@ checkgenerate: | |
|
||
$(BIN)/license-header: Makefile | ||
@mkdir -p $(@D) | ||
go install github.com/bufbuild/buf/private/pkg/licenseheader/cmd/license-header@v1.27.2 | ||
go install github.com/bufbuild/buf/private/pkg/licenseheader/cmd/license-header@v${BUF_VERSION} | ||
|
||
$(BIN)/golangci-lint: Makefile | ||
@mkdir -p $(@D) | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
|
||
$(BIN)/buf: Makefile | ||
@mkdir -p $(@D) | ||
go install github.com/bufbuild/buf/cmd/buf@v1.27.2 | ||
go install github.com/bufbuild/buf/cmd/buf@v${BUF_VERSION} | ||
|
||
$(BIN)/protoc-gen-go: Makefile go.mod | ||
@mkdir -p $(@D) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
version: v1 | ||
version: v2 | ||
managed: | ||
enabled: true | ||
go_package_prefix: | ||
default: connectrpc.com/authn/internal/gen | ||
override: | ||
- file_option: go_package_prefix | ||
value: connectrpc.com/authn/internal/gen | ||
plugins: | ||
- name: go | ||
- local: protoc-gen-go | ||
out: internal/gen | ||
opt: paths=source_relative | ||
- name: connect-go | ||
- local: protoc-gen-connect-go | ||
out: internal/gen | ||
opt: paths=source_relative |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v2 | ||
modules: | ||
- path: internal/proto | ||
lint: | ||
use: | ||
- DEFAULT | ||
disallow_comment_ignores: true | ||
breaking: | ||
use: | ||
- WIRE_JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.