Skip to content

fix: update cmdutil.Reader to use os.Openfile #138

fix: update cmdutil.Reader to use os.Openfile

fix: update cmdutil.Reader to use os.Openfile #138

Triggered via pull request June 25, 2023 06:32
Status Failure
Total duration 52s
Artifacts

go.yml

on: pull_request
Check go modules declaration
Check go modules declaration
GolangCI-lint
26s
GolangCI-lint
Matrix: Compile
Tests (linux)
0s
Tests (linux)
Tests (windows)
0s
Tests (windows)
Tests (darwin)
0s
Tests (darwin)
Fit to window
Zoom out
Zoom in

Annotations

10 errors
GolangCI-lint: pkg/tasks/bundle/decrypt.go#L26
import 'github.com/elastic/harp/api/gen/go/harp/bundle/v1' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/decrypt.go#L27
import 'github.com/elastic/harp/pkg/bundle' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/decrypt.go#L28
import 'github.com/elastic/harp/pkg/sdk/types' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/decrypt.go#L29
import 'github.com/elastic/harp/pkg/sdk/value' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/decrypt.go#L30
import 'github.com/elastic/harp/pkg/tasks' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/diff.go#L26
import 'github.com/elastic/harp/pkg/bundle' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/diff.go#L27
import 'github.com/elastic/harp/pkg/bundle/compare' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/diff.go#L28
import 'github.com/elastic/harp/pkg/sdk/convert' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/diff.go#L29
import 'github.com/elastic/harp/pkg/sdk/types' is not allowed from list 'Main' (depguard)
GolangCI-lint: pkg/tasks/bundle/diff.go#L30
import 'github.com/elastic/harp/pkg/tasks' is not allowed from list 'Main' (depguard)