Skip to content

Add golang unit test demo #174

Add golang unit test demo

Add golang unit test demo #174

Triggered via pull request August 6, 2023 04:32
@caoyingjunzcaoyingjunz
synchronize #100
test
Status Failure
Total duration 3m 0s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golang-lint: examples/services/incluster/main.go#L25
not enough arguments in call to clientset.CoreV1().Services("k8s.io/api/core/v1".NamespaceDefault).List
golang-lint: practise/configflags-practise.go#L37
main redeclared in this block
golang-lint: practise/checker.go#L63
previous declaration
golang-lint: practise/error-practise.go#L26
main redeclared in this block
golang-lint: practise/configflags-practise.go#L37
previous declaration
golang-lint: practise/etcd-practise.go#L11
main redeclared in this block
golang-lint: practise/error-practise.go#L26
previous declaration
golang-lint: practise/gorestful-practise.go#L132
main redeclared in this block
golang-lint: practise/etcd-practise.go#L11
previous declaration
golang-lint: practise/http-practise.go#L20
main redeclared in this block
misspell-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golang-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/