Skip to content

feat: Improve GitHub actions #360

feat: Improve GitHub actions

feat: Improve GitHub actions #360

Triggered via push October 7, 2023 18:15
Status Failure
Total duration 2m 20s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Test and coverage
1m 33s
Test and coverage
go vet and lint
2m 11s
go vet and lint
golangci lint check
1m 27s
golangci lint check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci lint check: internal/provider/interface.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci lint check: internal/provider/interface.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci lint check: internal/commander.go#L3
import 'k8s.io/utils/exec' is not allowed from list 'Main' (depguard)
golangci lint check: internal/io/io.go#L11
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
golangci lint check: internal/io/io.go#L13
import 'github.com/omegion/ssh-manager/internal' is not allowed from list 'Main' (depguard)
golangci lint check: internal/io/io.go#L14
import 'github.com/omegion/ssh-manager/internal/ssh' is not allowed from list 'Main' (depguard)
golangci lint check: cmd/add.go#L7
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
golangci lint check: cmd/add.go#L8
import 'github.com/spf13/cobra' is not allowed from list 'Main' (depguard)
golangci lint check: cmd/add.go#L10
import 'github.com/omegion/ssh-manager/internal/controller' is not allowed from list 'Main' (depguard)
golangci lint check: cmd/add.go#L11
import 'github.com/omegion/ssh-manager/internal/provider' is not allowed from list 'Main' (depguard)
golangci lint check: internal/provider/bw.go#L158
unused-parameter: parameter 'options' seems to be unused, consider removing or renaming it as _ (revive)
golangci lint check: internal/provider/op.go#L154
unused-parameter: parameter 'options' seems to be unused, consider removing or renaming it as _ (revive)
Test and coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/ssh-manager/ssh-manager. Supported file pattern: go.sum
go vet and lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ssh-manager/ssh-manager. Supported file pattern: go.sum