diff --git a/src/Dockerfile.windows b/src/Dockerfile.windows index 4183a7b..7895ca5 100644 --- a/src/Dockerfile.windows +++ b/src/Dockerfile.windows @@ -13,7 +13,7 @@ WORKDIR $BASE_DIR/cmd/bash # see golang.org/issue/31481 # RUN go mod tidy RUN go get -modcacherw jenkinsci.org/plugins/durabletask/common -RUN go get -modcacherw golang.org/x/sys@v0.0.0-20210514084401-e8d321eab015 +RUN go get -modcacherw golang.org/x/sys@v0.7.0 # can't test bash on windows RUN set CGO_ENABLED=0&& set GOOS=darwin&& set GOARCH=amd64&& go build -a -o %NAME%_darwin_amd64 RUN set CGO_ENABLED=0&& set GOOS=darwin&& set GOARCH=arm64&& go build -a -o %NAME%_darwin_arm64 @@ -24,7 +24,7 @@ RUN set CGO_ENABLED=0&& set GOOS=linux&& set GOARCH=arm64&& go build -a -o %NAME WORKDIR $BASE_DIR/cmd/windows # RUN go mod tidy RUN go get -modcacherw jenkinsci.org/plugins/durabletask/common -RUN go get -modcacherw golang.org/x/sys@v0.0.0-20210514084401-e8d321eab015 +RUN go get -modcacherw golang.org/x/sys@v0.7.0 RUN go test -v RUN set CGO_ENABLED=0& set GOOS=windows& set GOARCH=amd64& go build -a -o %NAME%_win_64.exe RUN set CGO_ENABLED=0& set GOOS=windows& set GOARCH=386& go build -a -o %NAME%_win_32.exe diff --git a/src/cmd/bash/go.mod b/src/cmd/bash/go.mod index 9e25915..8f2b92d 100644 --- a/src/cmd/bash/go.mod +++ b/src/cmd/bash/go.mod @@ -5,6 +5,6 @@ go 1.16 replace jenkinsci.org/plugins/durabletask/common => ../../pkg/common require ( - golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 + golang.org/x/sys v0.7.0 jenkinsci.org/plugins/durabletask/common v0.0.0-00010101000000-000000000000 ) diff --git a/src/cmd/bash/go.sum b/src/cmd/bash/go.sum index c5fc1a8..7c22a2b 100644 --- a/src/cmd/bash/go.sum +++ b/src/cmd/bash/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 h1:hZR0X1kPW+nwyJ9xRxqZk1vx5RUObAPBdKVvXPDUH/E= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/src/cmd/windows/go.mod b/src/cmd/windows/go.mod index 253472e..483936b 100644 --- a/src/cmd/windows/go.mod +++ b/src/cmd/windows/go.mod @@ -5,6 +5,6 @@ go 1.16 replace jenkinsci.org/plugins/durabletask/common => ../../pkg/common require ( - golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 + golang.org/x/sys v0.7.0 jenkinsci.org/plugins/durabletask/common v0.0.0-00010101000000-000000000000 ) diff --git a/src/cmd/windows/go.sum b/src/cmd/windows/go.sum index c5fc1a8..7c22a2b 100644 --- a/src/cmd/windows/go.sum +++ b/src/cmd/windows/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 h1:hZR0X1kPW+nwyJ9xRxqZk1vx5RUObAPBdKVvXPDUH/E= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=