Skip to content

Add golangci-lint and fix lint issues; add ci for macOS and windows #169

Add golangci-lint and fix lint issues; add ci for macOS and windows

Add golangci-lint and fix lint issues; add ci for macOS and windows #169

Triggered via pull request November 3, 2024 04:23
Status Failure
Total duration 8m 34s
Artifacts

main.yml

on: pull_request
Matrix: build-and-test
Matrix: build-static
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
build-on-windows: crypto/init_windows.go#L1
In function 'go_init_locks':
build-on-windows: crypto/init_windows.go#L30
warning: unused variable 'i' [-Wunused-variable]
build-on-windows: crypto/init_windows.go#L28
warning: unused variable 'rc' [-Wunused-variable]
build-on-windows: ctx.go#L277
could not determine kind of name for C.SSL_CTX_use_enc_PrivateKey
build-on-windows: ctx.go#L227
could not determine kind of name for C.SSL_CTX_use_enc_certificate
build-on-windows: ctx.go#L265
could not determine kind of name for C.SSL_CTX_use_sign_PrivateKey
build-on-windows: ctx.go#L215
could not determine kind of name for C.SSL_CTX_use_sign_certificate
build-on-windows
Process completed with exit code 1.
build-on-windows: crypto/init_windows.go#L1
In function 'go_init_locks':
build-on-windows: crypto/init_windows.go#L30
warning: unused variable 'i' [-Wunused-variable]
build-on-windows: crypto/init_windows.go#L28
warning: unused variable 'rc' [-Wunused-variable]
build-static (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-and-test (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-and-test (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-static (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golang-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-on-windows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/