Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Fix linter config

Fix linter config #74

Triggered via push September 19, 2023 11:04
Status Failure
Total duration 24s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: cmd/multidockerfile/main.go#L3
import 'github.com/haines/multidockerfile/internal/command' is not allowed from list 'Main' (depguard)
lint: internal/command/join_test.go#L9
import 'github.com/haines/multidockerfile/internal/command' is not allowed from list 'Main' (depguard)
lint: internal/command/join_test.go#L10
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: internal/command/join_test.go#L11
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
lint: internal/command/version_test.go#L7
import 'github.com/haines/multidockerfile/internal/command' is not allowed from list 'Main' (depguard)
lint: internal/command/version_test.go#L8
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: internal/command/version_test.go#L9
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
lint: internal/multistagedockerfile/multistagedockerfile_test.go#L9
import 'github.com/haines/multidockerfile/internal/multistagedockerfile' is not allowed from list 'Main' (depguard)
lint: internal/multistagedockerfile/multistagedockerfile_test.go#L10
import 'github.com/moby/buildkit/frontend/dockerfile/instructions' is not allowed from list 'Main' (depguard)
lint: internal/multistagedockerfile/multistagedockerfile_test.go#L11
import 'github.com/moby/buildkit/frontend/dockerfile/parser' is not allowed from list 'Main' (depguard)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/