Skip to content

Commit d2d3aa6

Browse files
committed
feat(workflow): add Go installation step to release workflow
2 parents ef94d97 + 87f097b commit d2d3aa6

File tree

43 files changed

+163
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+163
-97
lines changed

.github/workflows/check-go-dependencies-task.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,17 @@ jobs:
7272
with:
7373
submodules: recursive
7474

75+
# This is required to allow licensee/setup-licensed to install Licensed via Ruby gem.
76+
- name: Install Ruby
77+
uses: ruby/setup-ruby@v1
78+
with:
79+
ruby-version: ruby # Install latest version
80+
7581
- name: Install licensed
76-
uses: jonabc/setup-licensed@v1
82+
uses: licensee/setup-licensed@v1.3.2
7783
with:
7884
github_token: ${{ secrets.GITHUB_TOKEN }}
79-
version: 3.x
85+
version: 5.x
8086

8187
- name: Install Go
8288
uses: actions/setup-go@v5
@@ -123,11 +129,17 @@ jobs:
123129
with:
124130
submodules: recursive
125131

132+
# This is required to allow licensee/setup-licensed to install Licensed via Ruby gem.
133+
- name: Install Ruby
134+
uses: ruby/setup-ruby@v1
135+
with:
136+
ruby-version: ruby # Install latest version
137+
126138
- name: Install licensed
127-
uses: jonabc/setup-licensed@v1
139+
uses: licensee/setup-licensed@v1.3.2
128140
with:
129141
github_token: ${{ secrets.GITHUB_TOKEN }}
130-
version: 3.x
142+
version: 5.x
131143

132144
- name: Install Go
133145
uses: actions/setup-go@v5

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ jobs:
259259
environment: production
260260

261261
steps:
262+
- name: Install Go
263+
uses: actions/setup-go@v5
264+
with:
265+
go-version: ${{ env.GO_VERSION }}
266+
262267
- name: Download artifact
263268
uses: actions/download-artifact@v4
264269
with:

.licenses/arduino-create-agent/go/github.com/arduino/go-serial-utils.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/go-serial-utils
33
version: v0.1.2
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/go-serial-utils
77
license: gpl-3.0
88
licenses:

.licenses/arduino-create-agent/go/github.com/arduino/pluggable-discovery-protocol-handler/v2.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/arduino/pluggable-discovery-protocol-handler/v2
3-
version: v2.2.0
3+
version: v2.2.1
44
type: go
55
summary: Package discovery is a library for handling the Arduino Pluggable-Discovery
66
protocol (https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#pluggable-discovery-api-via-stdinstdout)

.licenses/arduino-create-agent/go/github.com/blang/semver.dep.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/blang/semver
33
version: v3.5.1+incompatible
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/blang/semver
77
license: mit
88
licenses:
@@ -33,3 +33,4 @@ licenses:
3333
- sources: README.md
3434
text: See [LICENSE](LICENSE) file.
3535
notices: []
36+
...

.licenses/arduino-create-agent/go/github.com/creack/goselect.dep.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/creack/goselect
33
version: v0.1.2
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/creack/goselect
77
license: mit
88
licenses:
@@ -33,3 +33,4 @@ licenses:
3333
- sources: README.md
3434
text: Released under the [MIT license](LICENSE).
3535
notices: []
36+
...

.licenses/arduino-create-agent/go/github.com/gin-contrib/sse.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/gin-contrib/sse
33
version: v0.1.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/gin-contrib/sse
77
license: mit
88
licenses:

.licenses/arduino-create-agent/go/github.com/gin-gonic/gin/binding.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/gin-gonic/gin/binding
33
version: v1.10.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/gin-gonic/gin/binding
77
license: mit
88
licenses:

.licenses/arduino-create-agent/go/github.com/gin-gonic/gin/internal/bytesconv.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/gin-gonic/gin/internal/bytesconv
33
version: v1.10.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/gin-gonic/gin/internal/bytesconv
77
license: mit
88
licenses:

.licenses/arduino-create-agent/go/github.com/gin-gonic/gin/internal/json.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/gin-gonic/gin/internal/json
33
version: v1.10.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/gin-gonic/gin/internal/json
77
license: mit
88
licenses:

0 commit comments

Comments
 (0)