Skip to content

Commit

Permalink
ci: update version + fix lint (#1)
Browse files Browse the repository at this point in the history
* ci: update version

Co-authored-by: Little Sound <[email protected]>

* fix: issue error

---------

Co-authored-by: Little Sound <[email protected]>
  • Loading branch information
outerkatza and LittleSound authored Nov 19, 2024
1 parent 6b05c57 commit e4b6275
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: golangci/[email protected]
with:
# Optional: golangci-lint command line arguments.
version: v1.56.2
version: v1.62.0
args: "--timeout=10m"

unittest:
Expand Down
6 changes: 3 additions & 3 deletions apis/jsonapi/jsonapi.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/jsonapi/jsonapi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ message ErrorObject {

message ErrorCaller {
string file = 1;
int32 line = 2;
int64 line = 2;
string function = 3;
}

Expand Down
20 changes: 10 additions & 10 deletions apis/llmgapi/v1/openai/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/constants/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package constants
const (
MetadataUserProfileWithSupabaseKey string = "lingticio-supabase-user-profile"
MetadataUserProfileWithAuthorizationKey string = "lingticio-authorization-user-profile"
MetadataBearerTokenKey string = "lingticio-authorization-bearer-token"
MetadataBearerTokenKey string = "lingticio-authorization-bearer-token" //nolint:gosec
)
2 changes: 1 addition & 1 deletion pkg/apierrors/apierrors.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (e *Error) WithCaller() *Error {
e.caller = &jsonapi.ErrorCaller{
Function: runtime.FuncForPC(pc).Name(),
File: file,
Line: int32(line),
Line: int64(line),
}

return e
Expand Down

0 comments on commit e4b6275

Please sign in to comment.