diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60cc1d31a..1d9484f42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: shell: bash run: | CODE_COV=$(go tool cover -func cover.out | grep total | awk '{print substr($3, 1, length($3)-1)}') - EXPECTED_CODE_COV=79.9 + EXPECTED_CODE_COV=79.7 var=$(awk 'BEGIN{ print "'$CODE_COV'"<"'$EXPECTED_CODE_COV'" }') if [ "$var" -eq 1 ];then echo "Your code coverage is too low. Coverage precentage is: $CODE_COV" @@ -171,4 +171,4 @@ jobs: - name: Inspect action report if: always() shell: bash - run: cat ./trivy-image-results.txt \ No newline at end of file + run: cat ./trivy-image-results.txt