Skip to content

Add integration tests #5

Add integration tests

Add integration tests #5

Triggered via pull request March 4, 2024 14:02
Status Success
Total duration 57s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
lint: commands/volumes/upload.go#L73
string `.tar.bz2` has 2 occurrences, make it a constant (goconst)
lint: commands/root.go#L119
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: commands/env/get.go#L100
cyclomatic complexity 16 of func `handleGetAllEnvironments` is high (> 15) (gocyclo)
lint: commands/login.go#L50
G102: Binds to all network interfaces (gosec)
lint: commands/root.go#L27
rootCmd is a global variable (gochecknoglobals)
lint: commands/root.go#L41
cfgFile is a global variable (gochecknoglobals)
lint: pkg/completion/completion.go#L23
S1001: should use copy(to, from) instead of a loop (gosimple)
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.