Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
switch to filesystem and specific tag when performance testing (#2846)
Zachary Rice8d1fa4236008
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.ymlindex 78190d448..7ea9e283a 100644--- a/.github/workflows/performance.yml+++ b/.github/workflows/performance.yml@@ -26,13 +26,15 @@ jobs:go build -o current .repo_tmp=$(mktemp -d)git clone https://github.com/trufflesecurity/trufflehog.git $repo_tmp+ cd $repo_tmp+ git checkout v3.75.1user_time_sum=0for i in {1..5}dotmpfile=$(mktemp)- /usr/bin/time -o $tmpfile $GITHUB_WORKSPACE/current git "file://$repo_tmp" --no-verification --no-update > out.txt+ /usr/bin/time -o $tmpfile $GITHUB_WORKSPACE/current filesystem "$repo_tmp" --no-verification --no-update > out.txtcat $tmpfiletime_output=$(cat $tmpfile)rm $tmpfile@@ -62,13 +64,15 @@ jobs:go build -o previous .repo_tmp=$(mktemp -d)git clone https://github.com/trufflesecurity/trufflehog.git $repo_tmp+ cd $repo_tmp+ git checkout v3.75.1user_time_sum=0for i in {1..5}dotmpfile=$(mktemp)- /usr/bin/time -o $tmpfile $GITHUB_WORKSPACE/previous git "file://$repo_tmp" --no-verification --no-update > out.txt+ /usr/bin/time -o $tmpfile $GITHUB_WORKSPACE/previous filesystem "$repo_tmp" --no-verification --no-update > out.txtcat $tmpfiletime_output=$(cat $tmpfile)rm $tmpfile