Skip to content

Commit

Permalink
fix(TestDeps): support go v1.16 (#52)
Browse files Browse the repository at this point in the history
* fix(TestDeps): support go v1.16

* chore(gh/workflows): update to go 1.16
  • Loading branch information
dudymas authored Jun 28, 2021
1 parent 4f4dc7a commit 1c43923
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
go:
- 1.15.x
- 1.16.x
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@master
Expand All @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
go:
- 1.15.x
- 1.16.x
name: Go ${{ matrix.go }} smoke test
steps:
- uses: actions/checkout@master
Expand All @@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
go:
- 1.15.x
- 1.16.x
name: Go ${{ matrix.go }} lint
steps:
- uses: actions/checkout@master
Expand All @@ -77,7 +77,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
go-version: 1.16.x
-
name: Set goreleaser .Env
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
go-version: 1.16.x
-
name: Set goreleaser .Env
run: |
Expand Down
2 changes: 2 additions & 0 deletions pkg/app/testdeps_deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ func (TestDeps) WriteProfileTo(name string, w io.Writer, debug int) error {
return pprof.Lookup(name).WriteTo(w, debug)
}

func (TestDeps) SetPanicOnExit0(bool) {}

// ImportPath is the import path of the testing binary, set by the generated main function.
var ImportPath string

Expand Down

0 comments on commit 1c43923

Please sign in to comment.