Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ linters:
disable:
- cyclop # covered by gocyclo
- depguard # not needed
- exhaustruct
- exhaustruct # don't _always_ need to exhaustively create struct
- exhaustruct_v5 # don't _always_ need to exhaustively create struct
- funlen # rely on code review to limit function length
- gochecknoglobals # sometimes useful to declare constants
- gocognit # dubious "cognitive overhead" quantification
- goconst # too noisy
- gomodguard # replaced with gomodguard_v2
- ireturn # "accept interfaces, return structs" isn't ironclad
- lll # don't want hard limits for line length
- maintidx # covered by gocyclo
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DOCKER_BUILD_EXTRA_ARGS ?=
DOCKER_BUILDER := bufbuild-plugins
DOCKER_CACHE_DIR ?= $(TMP)/dockercache
GO ?= go
GOLANGCI_LINT_VERSION ?= v2.11.4
GOLANGCI_LINT_VERSION ?= v2.13.1
GOLANGCI_LINT := $(TMP)/golangci-lint-$(GOLANGCI_LINT_VERSION)
# OUTPUT_DIR is the directory where plugin zip files are written by `make package`.
OUTPUT_DIR ?= $(TMP)/plugins
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bufbuild/plugins

go 1.26
go 1.27

require (
aead.dev/minisign v0.3.0
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/release/candidates.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (c *command) addPackageVersionCandidates(
) ([]pluginNameVersion, error) {
var added []pluginNameVersion
opts := &github.PackageListOptions{
ListOptions: github.ListOptions{PerPage: 100},
PerPage: 100,
}
for {
versions, resp, err := ghClient.GitHub.Organizations.PackageGetAllVersions(
Expand Down
Loading