mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-10 07:58:12 -05:00
ci: update lint with integration build tag (#177)
Update golangcilint to run the `integration` build tag as well.
This commit is contained in:
@@ -30,3 +30,6 @@ linters-settings:
|
||||
replacement: 'a[b:]'
|
||||
issues:
|
||||
fix: true
|
||||
run:
|
||||
build-tags:
|
||||
- integration
|
||||
|
||||
@@ -49,6 +49,9 @@ func getGoogleIdToken(audience string) (string, error) {
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
body, err := io.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return string(body), nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user