Skip to content

Commit

Permalink
build: update config and test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Sep 17, 2023
1 parent 5150be3 commit 46e2525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -32,9 +32,11 @@ jobs:
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
cache: true
cache-dependency-path: go.sum

- name: Format
run: diff -u <(echo -n) <(go fmt $(go list ./...))
Expand Down
1 change: 1 addition & 0 deletions client_test.go
Expand Up @@ -852,6 +852,7 @@ func TestClientOnResponseError(t *testing.T) {

for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
t.Parallel()
var assertErrorHook = func(r *Request, err error) {
assertNotNil(t, r)
v, ok := err.(*ResponseError)
Expand Down

0 comments on commit 46e2525

Please sign in to comment.