Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c0d4e44

Browse filesBrowse files
authored
chore: updated used golang version to 1.19 (#2026)
1 parent 38a0dfd commit c0d4e44
Copy full SHA for c0d4e44

File tree

Expand file treeCollapse file tree

28 files changed

+47
-1279
lines changed
Filter options
Expand file treeCollapse file tree

28 files changed

+47
-1279
lines changed

‎.github/workflows/check-easyjson.yml

Copy file name to clipboardExpand all lines: .github/workflows/check-easyjson.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check easyjson generated files
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.17"
5+
GO_VERSION: "1.19"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

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

Copy file name to clipboardExpand all lines: .github/workflows/check-go-dependencies-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.17"
6+
GO_VERSION: "1.19"
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

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

Copy file name to clipboardExpand all lines: .github/workflows/check-go-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.17"
6+
GO_VERSION: "1.19"
77

88
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
99
on:

‎.github/workflows/check-i18n-task.yml

Copy file name to clipboardExpand all lines: .github/workflows/check-i18n-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Internationalization
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.17"
5+
GO_VERSION: "1.19"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

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

Copy file name to clipboardExpand all lines: .github/workflows/check-markdown-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Markdown
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.17"
6+
GO_VERSION: "1.19"
77

88
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
99
on:

‎.github/workflows/check-mkdocs-task.yml

Copy file name to clipboardExpand all lines: .github/workflows/check-mkdocs-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Website
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.17"
6+
GO_VERSION: "1.19"
77
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
88
PYTHON_VERSION: "3.9"
99

‎.github/workflows/check-protobuf-task.yml

Copy file name to clipboardExpand all lines: .github/workflows/check-protobuf-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Protocol Buffers
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.17"
5+
GO_VERSION: "1.19"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

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

Copy file name to clipboardExpand all lines: .github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Website
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.17"
6+
GO_VERSION: "1.19"
77
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
88
PYTHON_VERSION: "3.9"
99

‎.github/workflows/i18n-nightly-push.yaml

Copy file name to clipboardExpand all lines: .github/workflows/i18n-nightly-push.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: "1.17"
21+
go-version: "${{ env.GO_VERSION }}"
2222

2323
- name: Install Taskfile
2424
uses: arduino/setup-task@v1

‎.github/workflows/i18n-weekly-pull.yaml

Copy file name to clipboardExpand all lines: .github/workflows/i18n-weekly-pull.yaml
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: i18n-weekly-pull
22

3+
env:
4+
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5+
GO_VERSION: "1.19"
6+
COVERAGE_ARTIFACT: coverage-data
7+
38
on:
49
schedule:
510
# run every monday at 2AM
@@ -20,7 +25,7 @@ jobs:
2025
- name: Install Go
2126
uses: actions/setup-go@v3
2227
with:
23-
go-version: "1.17"
28+
go-version: "${{ env.GO_VERSION }}"
2429

2530
- name: Install Taskfile
2631
uses: arduino/setup-task@v1

‎.github/workflows/test-go-task.yml

Copy file name to clipboardExpand all lines: .github/workflows/test-go-task.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.17"
6+
GO_VERSION: "1.19"
77
COVERAGE_ARTIFACT: coverage-data
88

99
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows

‎.licenses/go/golang.org/x/crypto/curve25519/internal/field.dep.yml

Copy file name to clipboardExpand all lines: .licenses/go/golang.org/x/crypto/curve25519/internal/field.dep.yml
-62Lines changed: 0 additions & 62 deletions
This file was deleted.

‎.licenses/go/golang.org/x/crypto/internal/poly1305.dep.yml

Copy file name to clipboardExpand all lines: .licenses/go/golang.org/x/crypto/internal/poly1305.dep.yml
-63Lines changed: 0 additions & 63 deletions
This file was deleted.

‎DistTasks.yml

Copy file name to clipboardExpand all lines: DistTasks.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version: "3"
1919

2020
vars:
2121
CONTAINER: "docker.elastic.co/beats-dev/golang-crossbuild"
22-
GO_VERSION: "1.17.8"
22+
GO_VERSION: "1.19.3"
2323

2424
tasks:
2525
Windows_32bit:
@@ -172,7 +172,7 @@ tasks:
172172
#
173173
# Until there is a fix released we must use a recent gcc for Linux_ARMv6 build, so for this
174174
# build we select the debian10 based container.
175-
CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian10"
175+
CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian9"
176176
PACKAGE_PLATFORM: "Linux_ARMv6"
177177
PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz"
178178

‎arduino/cores/packageindex/index.go

Copy file name to clipboardExpand all lines: arduino/cores/packageindex/index.go
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ import (
3030
)
3131

3232
// Index represents Cores and Tools struct as seen from package_index.json file.
33+
//
3334
//easyjson:json
3435
type Index struct {
3536
Packages []*indexPackage `json:"packages"`
3637
IsTrusted bool
3738
}
3839

3940
// indexPackage represents a single entry from package_index.json file.
41+
//
4042
//easyjson:json
4143
type indexPackage struct {
4244
Name string `json:"name"`
@@ -50,6 +52,7 @@ type indexPackage struct {
5052
}
5153

5254
// indexPlatformRelease represents a single Core Platform from package_index.json file.
55+
//
5356
//easyjson:json
5457
type indexPlatformRelease struct {
5558
Name string `json:"name"`
@@ -69,6 +72,7 @@ type indexPlatformRelease struct {
6972
}
7073

7174
// indexToolDependency represents a single dependency of a core from a tool.
75+
//
7276
//easyjson:json
7377
type indexToolDependency struct {
7478
Packager string `json:"packager"`
@@ -77,20 +81,23 @@ type indexToolDependency struct {
7781
}
7882

7983
// indexDiscoveryDependency represents a single dependency of a core from a pluggable discovery tool.
84+
//
8085
//easyjson:json
8186
type indexDiscoveryDependency struct {
8287
Packager string `json:"packager"`
8388
Name string `json:"name"`
8489
}
8590

8691
// indexMonitorDependency represents a single dependency of a core from a pluggable monitor tool.
92+
//
8793
//easyjson:json
8894
type indexMonitorDependency struct {
8995
Packager string `json:"packager"`
9096
Name string `json:"name"`
9197
}
9298

9399
// indexToolRelease represents a single Tool from package_index.json file.
100+
//
94101
//easyjson:json
95102
type indexToolRelease struct {
96103
Name string `json:"name"`
@@ -99,6 +106,7 @@ type indexToolRelease struct {
99106
}
100107

101108
// indexToolReleaseFlavour represents a single tool flavor in the package_index.json file.
109+
//
102110
//easyjson:json
103111
type indexToolReleaseFlavour struct {
104112
OS string `json:"host"`
@@ -109,19 +117,22 @@ type indexToolReleaseFlavour struct {
109117
}
110118

111119
// indexBoard represents a single Board as written in package_index.json file.
120+
//
112121
//easyjson:json
113122
type indexBoard struct {
114123
Name string `json:"name"`
115124
ID []indexBoardID `json:"id,omitempty"`
116125
}
117126

118127
// indexBoardID represents the ID of a single board. i.e. uno, yun, diecimila, micro and the likes
128+
//
119129
//easyjson:json
120130
type indexBoardID struct {
121131
USB string `json:"usb"`
122132
}
123133

124134
// indexHelp represents the help URL
135+
//
125136
//easyjson:json
126137
type indexHelp struct {
127138
Online string `json:"online,omitempty"`

‎arduino/discovery/discovery_client/go.mod

Copy file name to clipboardExpand all lines: arduino/discovery/discovery_client/go.mod
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-cli/arduino/discovery/discovery_client
22

3-
go 1.17
3+
go 1.19
44

55
replace github.com/arduino/arduino-cli => ../../..
66

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.