Skip to content

Commit

Permalink
update gha go version
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Dec 30, 2023
1 parent 98269d7 commit e35e2c1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 103 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.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@v2
with:
go-version: "1.20"
go-version: "1.21"

- name: Build
run: go build -v ./...
Expand Down
21 changes: 0 additions & 21 deletions auth_error.go

This file was deleted.

79 changes: 0 additions & 79 deletions auth_error_test.go

This file was deleted.

4 changes: 2 additions & 2 deletions slackdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func NewWithOptions(ctx context.Context, authProvider auth.Provider, opts Option

authTestResp, err := cl.AuthTestContext(ctx)
if err != nil {
return nil, &AuthError{Err: err}
return nil, &auth.Error{Err: err}
}

sd := &Session{
Expand Down Expand Up @@ -141,7 +141,7 @@ func TestAuth(ctx context.Context, provider auth.Provider) error {
region := trace.StartRegion(ctx, "AuthTestContext")
defer region.End()
if _, err := cl.AuthTestContext(ctx); err != nil {
return &AuthError{Err: err}
return &auth.Error{Err: err}
}
return nil
}
Expand Down

0 comments on commit e35e2c1

Please sign in to comment.