Skip to content

Commit 9e407fc

Browse files
committed
chore: go mod tidy
1 parent 4e04610 commit 9e407fc

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

action_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestActionRunDocker(t *testing.T) {
4848
func TestActionRunDockerNonzeroExitCode(t *testing.T) {
4949
cr := Runtime(t)
5050

51-
expected := rand.IntN(254) + 1
51+
expected := rand.IntN(254) + 2
5252
uses := Uses(t, &githubactions.Metadata{
5353
Name: t.Name(),
5454
Runs: &githubactions.MetadataRuns{

cloudbuild_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestCloudBuildRunScript(t *testing.T) {
4444
func TestCloudBuildRunNonzeroExitCode(t *testing.T) {
4545
cr := Runtime(t)
4646

47-
expected := rand.IntN(254) + 1
47+
expected := rand.IntN(254) + 2
4848
step := &forge.CloudBuild{
4949
Step: cloudbuild.Step{
5050
Name: "public.ecr.aws/docker/library/alpine",

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ require (
1818
github.com/spf13/cobra v1.10.2
1919
github.com/stretchr/testify v1.11.1
2020
golang.org/x/exp v0.0.0-20251219203646-944ab1f22d93
21+
golang.org/x/sync v0.19.0
2122
golang.org/x/text v0.32.0
2223
k8s.io/apimachinery v0.35.0
2324
k8s.io/cli-runtime v0.35.0
@@ -90,7 +91,6 @@ require (
9091
go.yaml.in/yaml/v3 v3.0.4 // indirect
9192
golang.org/x/crypto v0.46.0 // indirect
9293
golang.org/x/net v0.48.0 // indirect
93-
golang.org/x/sync v0.19.0 // indirect
9494
golang.org/x/sys v0.40.0 // indirect
9595
golang.org/x/time v0.14.0 // indirect
9696
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b // indirect

pipe_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestPipe(t *testing.T) {
3535
func TestPipeFromNonzeroExitCode(t *testing.T) {
3636
cr := Runtime(t)
3737

38-
expected := rand.IntN(254) + 1
38+
expected := rand.IntN(254) + 2
3939
pipe := &forge.Pipe{
4040
From: &forge.Pure{
4141
Image: "public.ecr.aws/docker/library/alpine",
@@ -58,7 +58,7 @@ func TestPipeFromNonzeroExitCode(t *testing.T) {
5858
func TestPipeToNonzeroExitCode(t *testing.T) {
5959
cr := Runtime(t)
6060

61-
expected := rand.IntN(254) + 1
61+
expected := rand.IntN(254) + 2
6262
pipe := &forge.Pipe{
6363
From: &forge.Pure{
6464
Image: "public.ecr.aws/docker/library/alpine",

pure_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestPure(t *testing.T) {
3030
func TestPureNonzeroExitCode(t *testing.T) {
3131
cr := Runtime(t)
3232

33-
expected := rand.IntN(254) + 1
33+
expected := rand.IntN(254) + 2
3434
pure := &forge.Pure{
3535
Image: "public.ecr.aws/docker/library/alpine",
3636
Entrypoint: []string{"sh", "-c"},

runtime/dockerd/container.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"io"
66
"path/filepath"
7+
// "strings"
78
"time"
89

910
"github.com/docker/docker/api/types/container"

0 commit comments

Comments
 (0)