Update .gitlab-ci.yml

12 jobs for demo-golint-mr in 10 minutes and 24 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Go
passed #487482006
go build

00:02:02

failed #487482008
allowed to fail
go lint

00:01:43

passed #487482007
go test

00:02:10

65.8%
 
  Build
passed #487482009
build commit

00:02:26

 
  Test
passed #487482014
check image size

00:01:08

passed #487482011
container_scanning

00:00:56

passed #487482015
integration test

00:01:17

passed #487482012
license_management

00:03:13

passed #487482010
sast

00:01:53

passed test-custom-ca-bundle

 
  Performance Metrics
passed #487482018
check analyzer scan duration

00:01:09

 
  Tag
passed #487482019
tag branch

00:01:24

 
Name Stage Failure
failed
go lint Go
/builds/gitlab-org/security-products/analyzers/secrets/scanner/gitleaks/gitleaks.go:36:2: exported const FlagHistoricScan should have comment (or a comment on this block) or be unexported
/builds/gitlab-org/security-products/analyzers/secrets/scanner/gitleaks/gitleaks.go:41:5: exported var PemEnd should have its own declaration
/builds/gitlab-org/security-products/analyzers/secrets/scanner/gitleaks/gitleaks.go:48:6: exported type Secret should have comment or be unexported
/builds/gitlab-org/security-products/analyzers/secrets/scanner/trufflehog/trufflehog.go:25:5: exported var PemEnd should have its own declaration
/builds/gitlab-org/security-products/analyzers/secrets/scanner/trufflehog/trufflehog.go:32:6: exported type Secret should have comment or be unexported
Found 19 lint suggestions; failing.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1