Skip to content

Find, verify, and analyze leaked credentials

ci improvements

Dustin Decker0eac3be94c08
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index deeabbe6f..3e741ab88 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,7 +11,6 @@ on:
- v*
branches:
- main
- pull_request:
permissions:
contents: write
diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml
index f6ba3a970..863c7d615 100644
--- a/.github/workflows/secrets.yml
+++ b/.github/workflows/secrets.yml
@@ -7,7 +7,6 @@ on:
- v*
branches:
- main
- pull_request:
jobs:
test:
diff --git a/.github/workflows/snifftest.yml b/.github/workflows/snifftest.yml
index 1fad9fe05..a8288a178 100644
--- a/.github/workflows/snifftest.yml
+++ b/.github/workflows/snifftest.yml
@@ -6,7 +6,6 @@ on:
- v*
branches:
- main
- pull_request:
permissions:
contents: read
diff --git a/Makefile b/Makefile
index 40d963244..1e8a7ef25 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
PROTOS_IMAGE ?= trufflesecurity/protos:1.18-0
.PHONY: check
+.PHONY: lint
.PHONY: test
.PHONY: test-race
.PHONY: run
@@ -20,6 +21,9 @@ check:
go fmt $(shell go list ./... | grep -v /vendor/)
go vet $(shell go list ./... | grep -v /vendor/)
+lint:
+ golangci-lint run --out-format=colored-line-number --timeout 10m
+
test-failing:
CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/) | grep FAIL