Skip to content

Commit c0362da

Browse files
authored
Merge pull request #542 from per1234/fix-deploy-website
Use project Go version for generating website content
2 parents 78e564d + bc76153 commit c0362da

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/check-markdown-task.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-markdown-task.md
22
name: Check Markdown
33

4+
env:
5+
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6+
GO_VERSION: "1.17"
7+
48
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
59
on:
610
push:
@@ -56,6 +60,11 @@ jobs:
5660
- name: Checkout repository
5761
uses: actions/checkout@v3
5862

63+
- name: Install Go
64+
uses: actions/setup-go@v4
65+
with:
66+
go-version: ${{ env.GO_VERSION }}
67+
5968
- name: Install Task
6069
uses: arduino/setup-task@v1
6170
with:

.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: Deploy Website
33

44
env:
5+
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6+
GO_VERSION: "1.17"
57
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
68
PYTHON_VERSION: "3.9"
79

@@ -54,6 +56,11 @@ jobs:
5456
- name: Checkout repository
5557
uses: actions/checkout@v3
5658

59+
- name: Install Go
60+
uses: actions/setup-go@v4
61+
with:
62+
go-version: ${{ env.GO_VERSION }}
63+
5764
- name: Install Python
5865
uses: actions/setup-python@v4
5966
with:

0 commit comments

Comments
 (0)