Skip to content

Commit

Permalink
[chore] Build with Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
angrycub committed May 3, 2024
1 parent 05ab8fc commit 698f3c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21.5
1.22.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# devbuild compiles the binary
# -----------------------------------
FROM golang:1.21 AS devbuild
FROM golang:1.22 AS devbuild

# Disable CGO to make sure we build static binaries
ENV CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/nomad-pack

go 1.21
go 1.22

// This replace is required by Nomad or the dependency won't build correctly.
replace github.com/hashicorp/hcl => github.com/hashicorp/hcl v1.0.1-0.20201016140508-a07e7d50bbee
Expand Down

0 comments on commit 698f3c4

Please sign in to comment.