File tree Expand file tree Collapse file tree 5 files changed +38
-5
lines changed Expand file tree Collapse file tree 5 files changed +38
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Check Go
2
2
3
+ env :
4
+ # See: https://github.com/actions/setup-go/tree/v2#readme
5
+ GO_VERSION : " 1.16"
6
+
3
7
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4
8
on :
5
9
push :
30
34
- name : Checkout repository
31
35
uses : actions/checkout@v2
32
36
37
+ - name : Install Go
38
+ uses : actions/setup-go@v2
39
+ with :
40
+ go-version : ${{ env.GO_VERSION }}
41
+
33
42
- name : Install Taskfile
34
43
uses : arduino/setup-task@v1
35
44
with :
46
55
- name : Checkout repository
47
56
uses : actions/checkout@v2
48
57
58
+ - name : Install Go
59
+ uses : actions/setup-go@v2
60
+ with :
61
+ go-version : ${{ env.GO_VERSION }}
62
+
49
63
- name : Install Taskfile
50
64
uses : arduino/setup-task@v1
51
65
with :
62
76
- name : Checkout repository
63
77
uses : actions/checkout@v2
64
78
79
+ - name : Install Go
80
+ uses : actions/setup-go@v2
81
+ with :
82
+ go-version : ${{ env.GO_VERSION }}
83
+
65
84
- name : Install Taskfile
66
85
uses : arduino/setup-task@v1
67
86
with :
Original file line number Diff line number Diff line change 1
1
name : Create Release
2
2
3
+ env :
4
+ # See: https://github.com/actions/setup-go/tree/v2#readme
5
+ GO_VERSION : " 1.14"
6
+
3
7
on :
4
8
push :
5
9
tags :
29
33
- name : Install Go
30
34
uses : actions/setup-go@v2
31
35
with :
32
- go-version : " 1.14 "
36
+ go-version : ${{ env.GO_VERSION }}
33
37
34
38
- name : Build project
35
39
run : task go:build
Original file line number Diff line number Diff line change 1
1
name : Test Go
2
2
3
+ env :
4
+ # See: https://github.com/actions/setup-go/tree/v2#readme
5
+ GO_VERSION : " 1.14"
6
+
3
7
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4
8
on :
5
9
push :
30
34
- name : Install Go
31
35
uses : actions/setup-go@v2
32
36
with :
33
- go-version : " 1.14 "
37
+ go-version : ${{ env.GO_VERSION }}
34
38
35
39
- name : Install Taskfile
36
40
uses : arduino/setup-task@v1
Original file line number Diff line number Diff line change 1
1
name : Test Integration
2
2
3
+ env :
4
+ # See: https://github.com/actions/setup-go/tree/v2#readme
5
+ GO_VERSION : " 1.14"
6
+ # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
7
+ PYTHON_VERSION : " 3.9"
8
+
3
9
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4
10
on :
5
11
push :
@@ -36,12 +42,12 @@ jobs:
36
42
- name : Install Go
37
43
uses : actions/setup-go@v2
38
44
with :
39
- go-version : " 1.14 "
45
+ go-version : ${{ env.GO_VERSION }}
40
46
41
47
- name : Install Python
42
48
uses : actions/setup-python@v2
43
49
with :
44
- python-version : " 3.9 "
50
+ python-version : ${{ env.PYTHON_VERSION }}
45
51
46
52
- name : Install Poetry
47
53
run : pip install poetry
Original file line number Diff line number Diff line change 1
1
module github.com/arduino/library-registry-submission-parser/parser
2
2
3
- go 1.14
3
+ go 1.16
4
4
5
5
require (
6
6
github.com/arduino/go-paths-helper v1.6.1
You can’t perform that action at this time.
0 commit comments