Skip to content

Commit d615361

Browse files
authored
[skip changelog] Update Go and Python versions on CI (#946)
1 parent 163a1f7 commit d615361

10 files changed

+112
-14
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Go
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: "1.14"
21+
go-version: "1.15"
2222

2323
- name: Install Taskfile
2424
uses: Arduino/actions/setup-taskfile@master

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Go
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: "1.14"
21+
go-version: "1.15"
2222

2323
- name: Install Go deps
2424
run: |

.github/workflows/link-validation.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install Go
2525
uses: actions/setup-go@v2
2626
with:
27-
go-version: "1.14"
27+
go-version: "1.15"
2828

2929
- name: Installs Go dependencies
3030
shell: bash
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Python
3939
uses: actions/setup-python@v1
4040
with:
41-
python-version: "3.6"
41+
python-version: "3.8"
4242
architecture: "x64"
4343

4444
- name: Cache dependencies

.github/workflows/publish-docs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
repo-token: ${{ secrets.GITHUB_TOKEN }}
2929

3030
- name: Setup Go
31-
uses: actions/setup-go@v2-beta
31+
uses: actions/setup-go@v2
3232
with:
33-
go-version: "1.14"
33+
go-version: "1.15"
3434

3535
- name: Install Go dependencies
3636
run: |
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Python
4646
uses: actions/setup-python@v1
4747
with:
48-
python-version: "3.6"
48+
python-version: "3.8"
4949
architecture: "x64"
5050

5151
- name: Cache dependencies

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Go
2323
uses: actions/setup-go@v2
2424
with:
25-
go-version: "1.14"
25+
go-version: "1.15"
2626

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

.github/workflows/validate-docs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
repo-token: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Setup Go
39-
uses: actions/setup-go@v2-beta
39+
uses: actions/setup-go@v2
4040
with:
41-
go-version: "1.14"
41+
go-version: "1.15"
4242

4343
- name: Install Go dependencies
4444
run: |
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Python
5454
uses: actions/setup-python@v1
5555
with:
56-
python-version: "3.6"
56+
python-version: "3.8"
5757
architecture: "x64"
5858

5959
- name: Cache dependencies

Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ tasks:
9292
build:
9393
desc: Build the project
9494
cmds:
95-
- go build -v -i {{.LDFLAGS}}
95+
- go build -v {{.LDFLAGS}}
9696

9797
test:
9898
desc: Run the full testsuite, `legacy` will be skipped

docs/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ submitting a PR:
2929

3030
To build the Arduino CLI from sources you need the following tools to be available in your local environment:
3131

32-
- [Go][1] version 1.12 or later
32+
- [Go][1] version 1.15 or later
3333
- [Taskfile][2] to help you run the most common tasks from the command line
3434

3535
If you want to run integration tests you will also need:

docsgen/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ replace github.com/arduino/arduino-cli => ../
66

77
require (
88
github.com/arduino/arduino-cli v0.0.0
9-
github.com/spf13/cobra v1.0.0
9+
github.com/spf13/cobra v1.0.1-0.20200710201246-675ae5f5a98c
1010
)

docsgen/go.sum

+98
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)