Skip to content

Add support for OAuth2 in HTTP target #1259

Add support for OAuth2 in HTTP target

Add support for OAuth2 in HTTP target #1259

Triggered via push May 23, 2024 09:10
Status Failure
Total duration 7m 6s
Artifacts

ci.yml

on: push
Matrix: Compile & Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L48
struct field OAuth2ClientId should be OAuth2ClientID
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L51
struct field OAuth2TokenUrl should be OAuth2TokenURL
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L105
func parameter oAuth2ClientId should be oAuth2ClientID
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L105
func parameter oAuth2TokenUrl should be oAuth2TokenURL
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L140
func createHttpClient should be createHTTPClient
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L140
func parameter oAuth2ClientId should be oAuth2ClientID
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L140
func parameter oAuth2TokenUrl should be oAuth2TokenURL
Compile & Test (1.22, ubuntu-latest): pkg/target/http.go#L152
if block ends with a return statement, so drop this else and outdent its block
Compile & Test (1.22, ubuntu-latest): pkg/target/oauth2_test.go#L26
const validClientId should be validClientID
Compile & Test (1.22, ubuntu-latest): pkg/target/oauth2_test.go#L38
var clientId should be clientID
Compile & Test (1.22, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, softprops/turnstyle@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Compile & Test (1.22, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: softprops/turnstyle@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Compile & Test (1.22, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Compile & Test (1.22, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/