File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ updates :
4+ # Go module dependencies.
5+ - package-ecosystem : " gomod"
6+ directory : " /"
7+ schedule :
8+ interval : " weekly"
9+ day : " monday"
10+ time : " 06:00"
11+ timezone : " Etc/UTC"
12+ open-pull-requests-limit : 10
13+ commit-message :
14+ prefix : " build"
15+ include : " scope"
16+ groups :
17+ gomod-minor-patch :
18+ applies-to : version-updates
19+ update-types :
20+ - " minor"
21+ - " patch"
22+
23+ # GitHub Actions used by the workflows.
24+ - package-ecosystem : " github-actions"
25+ directory : " /"
26+ schedule :
27+ interval : " weekly"
28+ day : " monday"
29+ time : " 06:00"
30+ timezone : " Etc/UTC"
31+ open-pull-requests-limit : 10
32+ commit-message :
33+ prefix : " ci"
34+ include : " scope"
35+ groups :
36+ actions-minor-patch :
37+ applies-to : version-updates
38+ update-types :
39+ - " minor"
40+ - " patch"
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105105 - name : Coverage threshold
106106 run : |
107107 COVERAGE=$(go tool cover -func=coverage.out | tail -1 | grep -oE '[0-9]+\.[0-9]+' || echo "0")
108- THRESHOLD=30
108+ THRESHOLD=80
109109 if [ "$(echo "$COVERAGE < $THRESHOLD" | bc -l)" -eq 1 ]; then
110110 echo "::error::Coverage ${COVERAGE}% is below threshold ${THRESHOLD}%"
111111 exit 1
You can’t perform that action at this time.
0 commit comments