Skip to content

Commit

Permalink
Merge pull request #35 from jaylevin/jrl/fix-namespace
Browse files Browse the repository at this point in the history
fix: Rename Namespace MR to VaultNamespace
  • Loading branch information
sergenyalcin authored May 14, 2024
2 parents 3883cb9 + cf389e9 commit f6c7b1d
Show file tree
Hide file tree
Showing 15 changed files with 413 additions and 393 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_VERSION }}
skip-pkg-cache: true
skip-build-cache: true

check-diff:
runs-on: ubuntu-22.04
Expand Down
22 changes: 13 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
run:
deadline: 10m
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
#
# SPDX-License-Identifier: CC0-1.0

skip-files:
- "zz_\\..+\\.go$"
run:
timeout: 60m
show-stats: true
concurrency: 3

output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: colored-line-number
print-linter-name: true

linters-settings:
errcheck:
Expand All @@ -27,9 +31,9 @@ linters-settings:
# report about shadowed variables
check-shadowing: false

golint:
# minimal confidence for issues, default is 0.8
min-confidence: 0.8
revive:
# confidence for issues, default is 0.8
confidence: 0.8

gofmt:
# simplify code: gofmt with `-s` option, true by default
Expand All @@ -38,7 +42,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/upbound/upjet-provider-template
local-prefixes: github.com/upbound/provider-vault

gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
Expand Down Expand Up @@ -113,7 +117,7 @@ linters:
- goimports
- gofmt # We enable this as well as goimports for its simplify mode.
- prealloc
- golint
- revive
- unconvert
- misspell
- nakedret
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ GO_SUBDIRS += cmd internal apis
# Setup Kubernetes tools

KIND_VERSION = v0.18.0
UP_VERSION = v0.18.0
UP_VERSION = v0.29.0
UP_CHANNEL = stable
UPTEST_VERSION = v0.2.1
RELDIR = "examples/release"
Expand Down
Loading

0 comments on commit f6c7b1d

Please sign in to comment.