Skip to content
  • Sponsor arduino/arduino-create-agent

  • Notifications You must be signed in to change notification settings
  • Fork 150

Commit d2d3aa6

Browse files
committedMar 31, 2025·
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:

0 commit comments

Comments
 (0)