Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
fix detector test action (#1805)
Dustin Decker5afc7a32ca5d
diff --git a/.github/workflows/detector-tests.yml b/.github/workflows/detector-tests.ymlindex c08ce2627..1839bc4c9 100644--- a/.github/workflows/detector-tests.yml+++ b/.github/workflows/detector-tests.yml@@ -32,7 +32,7 @@ jobs:mkdir -p tmp/test-results- name: Testrun: |- CGO_ENABLED=1 gotestsum --junitfile tmp/test-results/test.xml --raw-command -- go test -json -tags=detectors -timeout=15m $(go list ./... | pkg/detectors)+ CGO_ENABLED=1 gotestsum --junitfile tmp/test-results/test.xml --raw-command -- go test -json -tags=detectors -timeout=15m $(go list ./... | grep pkg/detectors)- name: Upload test results to BuildPulse for flaky test detectionif: ${{ !cancelled() }} # Run this step even when the tests fail. Skip if the workflow is cancelled.uses: buildpulse/buildpulse-action@main@@ -44,8 +44,3 @@ jobs:key: ${{ secrets.BUILDPULSE_DETECTORS_ACCESS_KEY_ID }}secret: ${{ secrets.BUILDPULSE_DETECTORS_SECRET_ACCESS_KEY }}tags: detectors- - name: Annotate test results- uses: mikepenz/action-junit-report@v3- if: success() || failure() # always run even if the previous step fails- with:- report_paths: "tmp/test-results/*.xml"