Skip to content

Commit

Permalink
Added support for Go 1.21.7 (#338)
Browse files Browse the repository at this point in the history
Go 1.22.0 remains the default version installed.
  • Loading branch information
freemanjp authored Feb 11, 2024
1 parent 2d9551f commit 58e4ce5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ configuration (for other versions follow the Advanced Configuration
instructions):
* `1.22.0`
* `1.21.7`
* `1.21.6`
* `1.21.5`
* `1.21.4`
Expand Down
2 changes: 1 addition & 1 deletion molecule/ubuntu-max-go-eol/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

roles:
- role: ansible-role-golang
golang_version: '1.20.13'
golang_version: '1.21.7'
golang_gopath: '$HOME/workspace-go'
4 changes: 2 additions & 2 deletions molecule/ubuntu-max-go-eol/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.20.13$'),
('GOROOT', '^/opt/go/1.21.7$'),
('GOPATH', '^/root/workspace-go$'),
('PATH', '^(.+:)?/opt/go/1.20.13/bin(:.+)?$'),
('PATH', '^(.+:)?/opt/go/1.21.7/bin(:.+)?$'),
('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$')
])
def test_go_env(host, name, pattern):
Expand Down
3 changes: 3 additions & 0 deletions vars/versions/1.21.7-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: 'a9bc1ccedbfde059f25b3a2ad81ae4cdf21192ae207dfd3ccbbfe99c3749e233'
3 changes: 3 additions & 0 deletions vars/versions/1.21.7-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: 'd86d2da4cad1c0ff5fc13677b0b77f26ca8adca48170c140f06b882e83b6e8df'
3 changes: 3 additions & 0 deletions vars/versions/1.21.7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: '13b76a9b2a26823e53062fa841b07087d48ae2ef2936445dc34c4ae03293702c'

0 comments on commit 58e4ce5

Please sign in to comment.