Skip to content

Commit

Permalink
chore(deps): Update go deps (#1493)
Browse files Browse the repository at this point in the history
* chore(deps): update go deps

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Run generate

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

---------

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Charith Ellawala <charith@cerbos.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charith Ellawala <charith@cerbos.dev>
  • Loading branch information
renovate[bot] and charithe committed Mar 20, 2023
1 parent 80e7360 commit 54beb34
Show file tree
Hide file tree
Showing 62 changed files with 2,071 additions and 1,435 deletions.
45 changes: 15 additions & 30 deletions .golangci.yaml
Expand Up @@ -3,18 +3,28 @@ run:
go: "1.19"
timeout: 300s
skip-dirs:
- api
- deploy
- docs
- hack
- internal/test/mocks
- "^api/"
- "^deploy/"
- "^docs/"
- "^hack/"
- "^internal/test/mocks/"
build-tags:
- tests

linters-settings:
exhaustive:
default-signifies-exhaustive: true

gci:
sections:
- standard
- default
- prefix(github.com/cerbos/cerbos)
- blank
- dot
skip-generated: true
custom-order: true

gofumpt:
extra-rules: true

Expand Down Expand Up @@ -88,31 +98,6 @@ linters:
- unparam
- wastedassign
- whitespace
disable:
- cyclop
- depguard
- dogsled
- exhaustivestruct
- funlen
- gochecknoglobals
- gochecknoinits
- gocognit
- gocyclo
- godox
- goerr113
- gofmt
- golint
- gomodguard
- goprintffuncname
- interfacer
- lll
- maligned
- nlreturn
- paralleltest
- stylecheck
- testpackage
- wrapcheck
- wsl

issues:
max-same-issues: 30
Expand Down
3 changes: 3 additions & 0 deletions .mockery.yaml
@@ -0,0 +1,3 @@
boilerplate-file: hack/copyright_header.txt
with-expecter: True

4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -54,8 +54,8 @@ generate-json-schemas: proto-gen-deps
.PHONY: generate-mocks
generate-mocks: $(MOCKERY)
@-rm -rf $(MOCK_DIR)
@ $(MOCKERY) --quiet --srcpkg=./internal/storage/index --name=Index --output=$(MOCK_DIR) --boilerplate-file=hack/copyright_header.txt
@ $(MOCKERY) --quiet --srcpkg=./internal/storage --name=Store --output=$(MOCK_DIR) --boilerplate-file=hack/copyright_header.txt
@ $(MOCKERY) --quiet --srcpkg=./internal/storage/index --name=Index --output=$(MOCK_DIR)
@ $(MOCKERY) --quiet --srcpkg=./internal/storage --name=Store --output=$(MOCK_DIR)

.PHONY: generate-notice
generate-notice: $(GO_LICENCE_DETECTOR)
Expand Down
2 changes: 1 addition & 1 deletion api/genpb/cerbos/audit/v1/audit.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/audit/v1/audit_hashpb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/audit/v1/hashpb_helpers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/bundle/v1/bundle.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/bundle/v1/bundle_hashpb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/bundle/v1/hashpb_helpers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/effect/v1/effect.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/effect/v1/effect_hashpb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

861 changes: 430 additions & 431 deletions api/genpb/cerbos/engine/v1/engine.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/engine/v1/engine_hashpb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/engine/v1/hashpb_helpers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/policy/v1/hashpb_helpers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/policy/v1/policy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/policy/v1/policy_hashpb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/private/v1/hashpb_helpers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/private/v1/test.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/private/v1/test_hashpb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/genpb/cerbos/request/v1/hashpb_helpers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 54beb34

Please sign in to comment.