Skip to content

Commit

Permalink
Merge pull request #24 from silinternational/feature/workflows-use-go…
Browse files Browse the repository at this point in the history
…-mod-version

Update workflows to use go.mod version
  • Loading branch information
jason-jackson authored Jul 31, 2024
2 parents 6f700b8 + 132f732 commit efdc385
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: go.mod

- name: Run tests
run: go test -v ./...
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: go.mod

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ensure this version tracks with go.mod and workflows
# Ensure this version tracks with go.mod
FROM golang:1.22 as builder

# Ensure go build env is correct
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/silinternational/awsops

// Ensure this version tracks with /Dockerfile and workflows
// Ensure this version tracks with /Dockerfile
go 1.22

require (
Expand Down

0 comments on commit efdc385

Please sign in to comment.