Skip to content

Commit

Permalink
Finished updates to Go 1.20 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuchwald committed Jul 16, 2023
1 parent 898430c commit c98d0cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- Dockerfile
- packages.txt
- goimports.txt
- .github/workflows/docker.yaml
branches: [v3]
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV GOROOT /usr/lib/go
ENV GOPATH /go
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH

RUN grep '^[^ #]' /tmp/goimports.txt | xargs go get && rm -rf /tmp/goimports.txt && go mod tidy && rm -rf /go.mod
RUN grep '^[^ #]' /tmp/goimports.txt | xargs go get && rm -rf /tmp/goimports.txt && rm -rf /go.mod

# TODO: cambiar a $INPUT_PATH antes de correr $INPUT_COMMAND.
ENTRYPOINT ["/bin/sh", "-c"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module install

go 1.19
go 1.20

require github.com/stretchr/testify v1.8.4

Expand Down
4 changes: 2 additions & 2 deletions goimports.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ github.com/davecgh/go-spew@v1.1.1
github.com/pmezard/go-difflib@v1.0.0
github.com/stretchr/objx@v0.5.0
gopkg.in/yaml.v3@v3.0.1
gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405
github.com/stretchr/testify@latest
gopkg.in/check.v1@v1.0.0-20201130134442-10cb98267c6c
github.com/stretchr/testify@v1.8.4

0 comments on commit c98d0cb

Please sign in to comment.