Skip to content

Commit

Permalink
delete commit: debug bundle - update cache from github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Oct 12, 2023
1 parent 83e86ff commit 8949ee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ jobs:
path: |
~/go/pkg/mod
~/.cache/go-build
.bin
key: cache-${{ hashFiles('**/go.sum') }}-${{ hashFiles('.bin/*') }}
key: cache-${{ hashFiles('**/go.sum') }}
restore-keys: |
cache-
- run: make bin
Expand Down
3 changes: 2 additions & 1 deletion checks/runchecks.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ func transformResults(ctx *context.Context, in []*pkg.CheckResult) (out []*pkg.C
for _, r := range in {
transformed, err := transform(ctx, r)
if err != nil {
r.Failf("transformation failure: %v", err)
r.Failf("this is a transformation failure: %v with data: %v", err, r.Data)
out = append(out, r)
panic(fmt.Sprintf("transformation failure: %v with data: %v", err, r.Data))
} else {
for _, t := range transformed {
out = append(out, processTemplates(ctx, t))
Expand Down

0 comments on commit 8949ee4

Please sign in to comment.