Skip to content

Commit 5a991ea

Browse files
committed
fix packages installation
1 parent 9cfdc07 commit 5a991ea

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This file is used to list changes made in each version of golang.
44

55
## Unreleased
66

7+
- Use go install rather than go get to install packages through node attributes
8+
79
## 5.3.2 - *2022-02-09*
810

911
- Remove delivery and move to calling RSpec directly via a reusable workflow

resources/package.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
gocache = '/tmp/go'
2525

2626
action :install do
27-
execute "go get #{new_resource.name}" do
27+
execute "go install #{new_resource.name}" do
2828
user node['golang']['owner']
2929
group node['golang']['group']
3030
environment({

0 commit comments

Comments
 (0)