Check that *FileArtifact implements Artifact at compile time #64
Annotations
9 errors and 2 warnings
build:
fileartifactprocessor.go#L126
impossible type assertion: a.(FileArtifact)
|
build
Process completed with exit code 1.
|
lint:
fileartifactprocessor.go#L126
impossible type assertion: a.(FileArtifact)
|
lint:
fileartifactprocessor_test.go#L37
cannot use FileArtifact{…} (value of type FileArtifact) as type Artifact in array or slice literal:
|
lint:
fileartifactprocessor_test.go#L38
cannot use FileArtifact{…} (value of type FileArtifact) as type Artifact in array or slice literal:
|
lint:
fileartifactprocessor_test.go#L47
cannot use FileArtifact{…} (value of type FileArtifact) as type Artifact in array or slice literal:
|
lint:
fileartifactprocessor_test.go#L59
cannot use FileArtifact{…} (value of type FileArtifact) as type Artifact in array or slice literal:
|
lint:
fileartifactprocessor_test.go#L72
cannot use FileArtifact{…} (value of type FileArtifact) as type Artifact in array or slice literal:
|
lint
Process completed with exit code 1.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|