Skip to content

Commit

Permalink
Updated Go to 1.22.0
Browse files Browse the repository at this point in the history
1.22.0 will now be installed by default.
  • Loading branch information
freemanjp committed Feb 11, 2024
1 parent 9533804 commit 65effac
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ are shown below):

```yaml
# Go language SDK version number
golang_version: '1.21.6'
golang_version: '1.22.0'

# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'
Expand All @@ -74,6 +74,7 @@ The following versions of Go language SDK are supported without any additional
configuration (for other versions follow the Advanced Configuration
instructions):
* `1.22.0`
* `1.21.6`
* `1.21.5`
* `1.21.4`
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# code: language=ansible
---
# Go language SDK version number
golang_version: '1.21.6'
golang_version: '1.22.0'

# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'
Expand Down
4 changes: 2 additions & 2 deletions molecule/default/tests/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@


@pytest.mark.parametrize('name,pattern', [
('GOROOT', '^/opt/go/1.21.6$'),
('GOROOT', '^/opt/go/1.22.0$'),
('GOPATH', '^/root/workspace-go$'),
('PATH', '^(.+:)?/opt/go/1.21.6/bin(:.+)?$'),
('PATH', '^(.+:)?/opt/go/1.22.0/bin(:.+)?$'),
('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$')
])
def test_go_env(host, name, pattern):
Expand Down
3 changes: 3 additions & 0 deletions vars/versions/1.22.0-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: '6a63fef0e050146f275bf02a0896badfe77c11b6f05499bb647e7bd613a45a10'
3 changes: 3 additions & 0 deletions vars/versions/1.22.0-armv6l.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: '0525f92f79df7ed5877147bce7b955f159f3962711b69faac66bc7121d36dcc4'
3 changes: 3 additions & 0 deletions vars/versions/1.22.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: 'f6c8a87aa03b92c4b0bf3d558e28ea03006eb29db78917daec5cfb6ec1046265'

0 comments on commit 65effac

Please sign in to comment.