Skip to content

Commit 06a328f

Browse files
authored
Bump required go version to 1.14 (arduino#634)
Fixed faulty json because of new behaviour of encoding/json: > encoding/json > Number no longer accepts invalid numbers, to follow the documented behavior more closely. Signed-off-by: Matteo Suppo <[email protected]>
1 parent 985b2c9 commit 06a328f

File tree

8 files changed

+66
-66
lines changed

8 files changed

+66
-66
lines changed

.github/workflows/docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Go
3838
uses: actions/setup-go@v2-beta
3939
with:
40-
go-version: '1.13'
40+
go-version: '1.14'
4141

4242
- name: Install Go dependencies
4343
run: |

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install Go
2626
uses: actions/setup-go@v1
2727
with:
28-
go-version: '1.13'
28+
go-version: '1.14'
2929

3030
- name: Install Go deps
3131
# Since 10/23/2019 pwsh is the default shell

Dockerfiles/builder/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ENV PATH $PATH:/usr/local/go/bin
55
# Install tooling
66
ENV GORELEASER_VER 0.113.0
77
ENV GORELEASER_SHA 2379beebb6369b75ccead7f7a43269de700b51821feae3857701d106ed72bd63
8-
ENV GOVER 1.13
8+
ENV GOVER 1.14
99
RUN set -ex \
1010
&& curl -o goreleaser.tar.gz -LO https://github.com/goreleaser/goreleaser/releases/download/v${GORELEASER_VER}/goreleaser_Linux_x86_64.tar.gz \
1111
&& echo "$GORELEASER_SHA goreleaser.tar.gz" | sha256sum -c - || exit 1 \

arduino/cores/packageindex/testdata/package_Zoubworld_index.json

+59-59
Original file line numberDiff line numberDiff line change
@@ -11,61 +11,61 @@
1111
},
1212
"platforms": [
1313

14-
{
15-
"name": "zoubworld SAM M0+ Boards",
16-
"architecture": "samd",
17-
"version": "1.6.33",
18-
"category": "Contributed",
19-
"help": {
20-
"online": "https://www.zoubworld.com/support/"
21-
},
22-
"url": "http://zoubworld.hd.free.fr/~zoubworld_Arduino/files/Release/Zoubworld_sam_m0p-1.6.33.tar.bz2",
23-
"archiveFileName": "Zoubworld_sam_m0p-1.6.33.tar.bz2",
24-
"checksum": "SHA-256:66f6db1f48a422ecfa42e4377a5f7f29bc7550829ab24cbf322f1b184fc77d75",
25-
"size": "7397802",
26-
"boards": [
27-
{"name": "Pilo"},
28-
{"name": "Captor"},
29-
{"name": "line"}
30-
],
31-
"toolsDependencies": [
32-
{
33-
"packager": "arduino",
34-
"name": "arm-none-eabi-gcc",
35-
"version": "4.8.3-2014q1"
36-
},
37-
{
38-
"packager": "zoubworld_Arduino",
39-
"name": "bossac",
40-
"version": "1.7.1-zoubworld-4"
41-
},
42-
{
43-
"packager": "arduino",
44-
"name": "openocd",
45-
"version": "0.9.0-arduino"
46-
},
47-
{
48-
"packager": "arduino",
49-
"name": "CMSIS",
50-
"version": "4.0.0-atmel"
51-
},
52-
{
53-
"packager": "zoubworld_Arduino",
54-
"name": "CMSIS-Atmel",
55-
"version": "1.1.7-Zoubworld"
56-
},
57-
{
58-
"packager": "zoubworld_Arduino",
59-
"name": "UsbDriver",
60-
"version": "1.1.1-Zoubworld"
61-
},
62-
{
63-
"packager": "arduino",
64-
"name": "arduinoOTA",
65-
"version": "1.2.0"
66-
}
67-
]
68-
}
14+
{
15+
"name": "zoubworld SAM M0+ Boards",
16+
"architecture": "samd",
17+
"version": "1.6.33",
18+
"category": "Contributed",
19+
"help": {
20+
"online": "https://www.zoubworld.com/support/"
21+
},
22+
"url": "http://zoubworld.hd.free.fr/~zoubworld_Arduino/files/Release/Zoubworld_sam_m0p-1.6.33.tar.bz2",
23+
"archiveFileName": "Zoubworld_sam_m0p-1.6.33.tar.bz2",
24+
"checksum": "SHA-256:66f6db1f48a422ecfa42e4377a5f7f29bc7550829ab24cbf322f1b184fc77d75",
25+
"size": "7397802",
26+
"boards": [
27+
{"name": "Pilo"},
28+
{"name": "Captor"},
29+
{"name": "line"}
30+
],
31+
"toolsDependencies": [
32+
{
33+
"packager": "arduino",
34+
"name": "arm-none-eabi-gcc",
35+
"version": "4.8.3-2014q1"
36+
},
37+
{
38+
"packager": "zoubworld_Arduino",
39+
"name": "bossac",
40+
"version": "1.7.1-zoubworld-4"
41+
},
42+
{
43+
"packager": "arduino",
44+
"name": "openocd",
45+
"version": "0.9.0-arduino"
46+
},
47+
{
48+
"packager": "arduino",
49+
"name": "CMSIS",
50+
"version": "4.0.0-atmel"
51+
},
52+
{
53+
"packager": "zoubworld_Arduino",
54+
"name": "CMSIS-Atmel",
55+
"version": "1.1.7-Zoubworld"
56+
},
57+
{
58+
"packager": "zoubworld_Arduino",
59+
"name": "UsbDriver",
60+
"version": "1.1.1-Zoubworld"
61+
},
62+
{
63+
"packager": "arduino",
64+
"name": "arduinoOTA",
65+
"version": "1.2.0"
66+
}
67+
]
68+
}
6969
],
7070
"tools": [
7171
{
@@ -182,28 +182,28 @@
182182
"url": "http://zoubworld.hd.free.fr/~zoubworld_Arduino/files/Release/JLink_MacOSX_V630c.pkg",
183183
"archiveFileName": "JLink_MacOSX_V630c.pkg",
184184
"checksum": "SHA-256:",
185-
"size": ""
185+
"size": "0"
186186
},
187187
{
188188
"host": "x86_64-pc-linux-gnu",
189189
"url": "http://zoubworld.hd.free.fr/~zoubworld_Arduino/files/Release/JLink_Linux_V630c_x86_64.tgz",
190190
"archiveFileName": "JLink_Linux_V630c_x86_64.tgz",
191191
"checksum": "SHA-256:",
192-
"size": ""
192+
"size": "0"
193193
},
194194
{
195195
"host": "i686-pc-linux-gnu",
196196
"url": "http://zoubworld.hd.free.fr/~zoubworld_Arduino/files/Release/JLink_Linux_V630c_i386.tgz",
197197
"archiveFileName": "JLink_Linux_V630c_i386.tgz",
198198
"checksum": "SHA-256:",
199-
"size": ""
199+
"size": "0"
200200
},
201201
{
202202
"host": "arm-linux-gnueabihf",
203203
"url": "http://zoubworld.hd.free.fr/~zoubworld_Arduino/files/Release/JLink_Linux_V630c_arm.tgz",
204204
"archiveFileName": "JLink_Linux_V630c_arm.tgz",
205205
"checksum": "SHA-256:",
206-
"size": ""
206+
"size": "0"
207207
},
208208
{
209209
"host": "all",

arduino/cores/packageindex/testdata/package_infineon_index.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@
371371
"url":"https://github.com/Infineon/XMC-for-Arduino/releases/download/V1.1.2/XMC_IFX_1.1.2.zip",
372372
"archiveFileName":"XMC_IFX_1.1.2.zip",
373373
"checksum":"SHA-256:c9247f7a02b03cb3b69e8b2f120f5e9d92f529954c2d71a0a13774a61ba8f025",
374-
"size":"1480694 ",
374+
"size":"1480694",
375375
"help":{
376376
"online":"https://github.com/Infineon/XMC-for-Arduino"
377377
},

client_example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-cli/client_example
22

3-
go 1.13
3+
go 1.14
44

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

docsgen/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-cli/docsgen
22

3-
go 1.13
3+
go 1.14
44

55
require (
66
github.com/arduino/arduino-cli v0.0.0-20200228161349-4b874a02b096

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-cli
22

3-
go 1.13
3+
go 1.14
44

55
require (
66
bou.ke/monkey v1.0.1

0 commit comments

Comments
 (0)