Skip to content

Commit

Permalink
Test linting
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Mar 13, 2024
1 parent 0bedfe3 commit 71408cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN_BUILDTAGGER ?= true
# if RUN_BUILDTAGGER is set to "true", we will use build constraints
# and use the buildtagger tool to generate the build tags.
ifeq ($(RUN_BUILDTAGGER),true)
GO_LINT_ARGS ?= -v --build-tags all
GO_LINT_ARGS ?= -v --build-tags all --concurrency 3
BUILDTAGGER_VERSION ?= v0.12.0-rc.0.28.gdc5d6f3
BUILDTAGGER_DOWNLOAD_URL ?= https://s3.us-west-2.amazonaws.com/upbound.official-providers-ci.releases/main/$(BUILDTAGGER_VERSION)/bin/$(SAFEHOST_PLATFORM)/buildtagger
endif
Expand Down
8 changes: 8 additions & 0 deletions config/externalnamenottested.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Copyright 2022 Upbound Inc.
package config

import (
"crypto/rand"

"github.com/crossplane/upjet/pkg/config"
)

Expand Down Expand Up @@ -744,3 +746,9 @@ var ExternalNameNotTestedConfigs = map[string]config.ExternalName{
// Transcribe MedicalVocabulary can be imported using the vocabulary_name
"aws_transcribe_medical_vocabulary": config.ParameterAsIdentifier("vocabulary_name"),
}

func init() {
if false {
rand.Int(nil, nil)

Check failure on line 752 in config/externalnamenottested.go

View workflow job for this annotation

GitHub Actions / lint

Error return value of `rand.Int` is not checked (errcheck)
}
}

0 comments on commit 71408cb

Please sign in to comment.