Skip to content

Commit

Permalink
chore: changed golang-related CI configuration and update document (#204
Browse files Browse the repository at this point in the history
)

* chore: update to golang 1.20

* chore: bump setup-go version to v4.1.0 and using go-version-file input
  • Loading branch information
ponkio-o authored Nov 21, 2023
1 parent 2feaf97 commit 7c824fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4.1.0
with:
go-version: '1.20.x'
go-version-file: 'go.mod'

- name: Gofmt
run: ./scripts/gofmt.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4.1.0
with:
go-version: '1.20.x'
go-version-file: 'go.mod'
-
name: Import GPG key
id: import_gpg
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Requirements
* [Terraform](https://www.terraform.io/downloads.html) > 0.12.x
* [Go](https://golang.org/doc/install) 1.18
* [Go](https://golang.org/doc/install) 1.20

Check out the [Terraform Documentation](https://www.terraform.io/docs/configuration/index.html) and their [Introduction](https://www.terraform.io/intro/index.html) for more information on terraform

Expand Down

0 comments on commit 7c824fe

Please sign in to comment.