mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
b35c092cb4
commit
64ca73637a
@ -184,6 +184,7 @@ func TestRunPipe(t *testing.T) {
|
||||
manifestAssertError: shouldNotErr,
|
||||
assertImageLabels: noLabels,
|
||||
extraPrepare: func(t *testing.T, ctx *context.Context) {
|
||||
t.Helper()
|
||||
for _, cmd := range []string{
|
||||
fmt.Sprintf("docker build -t %sgoreleaser/dummy:v1 --platform linux/amd64 -f testdata/Dockerfile.dummy .", registry),
|
||||
fmt.Sprintf("docker push %sgoreleaser/dummy:v1", registry),
|
||||
@ -772,6 +773,7 @@ func TestRunPipe(t *testing.T) {
|
||||
assertImageLabels: noLabels,
|
||||
assertError: shouldErr(`/wont-exist: no such file or directory`),
|
||||
extraPrepare: func(t *testing.T, ctx *context.Context) {
|
||||
t.Helper()
|
||||
ctx.Artifacts.Add(&artifact.Artifact{
|
||||
Name: "wont-exist",
|
||||
Path: "wont-exist",
|
||||
|
Loading…
x
Reference in New Issue
Block a user