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
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.10.1
version: v2.12.2
args: -v -c .golangci.yaml

audit:
Expand Down
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ linters:
- forbidigo
- gochecknoglobals
- gochecknoinits
- goconst
- mnd
- testpackage
- usetesting
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MOCK_SRC_DIR ?= mocks
#-----------------------------------------------------------------------------------------------------------------------
$(GO_BIN)/golangci-lint:
@echo "==> Installing golangci-lint within "${GO_BIN}""
@go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
@go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2

$(GO_BIN)/govulncheck:
@echo "==> Installing govulncheck within "${GO_BIN}""
Expand Down
2 changes: 0 additions & 2 deletions internal/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ limitations under the License.

// Package build provides build information that is linked into the application. Other
// packages within this project can use this information in logs etc..

//nolint:revive // package name conflicts with stdlib is acceptable here
package build

var (
Expand Down
4 changes: 2 additions & 2 deletions internal/fga/fga.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ type ClientConfig struct {
ApiUrl string `json:"api_url,omitempty"` //nolint:revive,stylecheck
StoreID string `json:"store_id,omitempty"`
AuthorizationModelID string `json:"authorization_model_id,omitempty"`
APIToken string `json:"api_token,omitempty"` //nolint:gosec
APIToken string `json:"api_token,omitempty"`
APITokenIssuer string `json:"api_token_issuer,omitempty"`
APIAudience string `json:"api_audience,omitempty"`
APIScopes []string `json:"api_scopes,omitempty"`
ClientID string `json:"client_id,omitempty"`
ClientSecret string `json:"client_secret,omitempty"` //nolint:gosec
ClientSecret string `json:"client_secret,omitempty"`
CustomHeaders []string `json:"custom_headers,omitempty"`
Debug bool `json:"debug,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/context.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package utils //nolint:revive
package utils

import "context"

Expand Down
Loading