Skip to content

Commit

Permalink
build from go version in go.mod (#105)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
imjasonh authored Jan 9, 2024
1 parent 271e2cd commit 93a2169
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/codegen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.20'
check-latest: true
go-version-file: ./go.mod

- run: go generate ./...

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.20'
check-latest: true
go-version-file: ./go.mod

- id: import_gpg
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.20'
check-latest: true
go-version-file: ./go.mod

- uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
with:
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/chainguard-dev/terraform-provider-cosign

go 1.19
go 1.21

// https://github.com/theupdateframework/go-tuf/issues/527
replace github.com/theupdateframework/go-tuf => github.com/theupdateframework/go-tuf v0.5.2
Expand Down
Loading

0 comments on commit 93a2169

Please sign in to comment.