File tree 7 files changed +17
-17
lines changed
7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 23
23
- " etc/schemas/**/*.json"
24
24
25
25
jobs :
26
- test-go :
26
+ check :
27
27
runs-on : ubuntu-latest
28
28
29
29
steps :
35
35
with :
36
36
go-version : ${{ env.GO_VERSION }}
37
37
38
- - name : Install Taskfile
38
+ - name : Install Task
39
39
uses : arduino/setup-task@v1
40
40
with :
41
41
repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 26
26
- name : Checkout repository
27
27
uses : actions/checkout@v2
28
28
29
- - name : Install Taskfile
29
+ - name : Install Task
30
30
uses : arduino/setup-task@v1
31
31
with :
32
32
repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 35
35
with :
36
36
fetch-depth : 0
37
37
38
- - name : Install Taskfile
38
+ - name : Install Task
39
39
uses : arduino/setup-task@v1
40
40
with :
41
41
repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 33
33
case-insensitive-regex : true
34
34
changelog-file-path : " ${{ env.DIST_DIR }}/CHANGELOG.md"
35
35
36
- - name : Install Taskfile
36
+ - name : Install Task
37
37
uses : arduino/setup-task@v1
38
38
with :
39
39
repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 30
30
- " tests/**"
31
31
32
32
jobs :
33
- test-go :
33
+ test :
34
34
strategy :
35
35
matrix :
36
36
operating-system :
@@ -41,15 +41,15 @@ jobs:
41
41
runs-on : ${{ matrix.operating-system }}
42
42
43
43
steps :
44
- - name : Checkout local repository
44
+ - name : Checkout repository
45
45
uses : actions/checkout@v2
46
46
47
47
- name : Install Go
48
48
uses : actions/setup-go@v2
49
49
with :
50
50
go-version : ${{ env.GO_VERSION }}
51
51
52
- - name : Install Taskfile
52
+ - name : Install Task
53
53
uses : arduino/setup-task@v1
54
54
with :
55
55
repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/test-go-task.md
2
- name : Run tests
2
+ name : Test Go
3
3
4
4
env :
5
5
# See: https://github.com/actions/setup-go/tree/v2#readme
24
24
- " **/testdata/**"
25
25
26
26
jobs :
27
- test-go :
27
+ test :
28
28
strategy :
29
29
matrix :
30
30
operating-system :
@@ -35,21 +35,21 @@ jobs:
35
35
runs-on : ${{ matrix.operating-system }}
36
36
37
37
steps :
38
- - name : Checkout local repository
38
+ - name : Checkout repository
39
39
uses : actions/checkout@v2
40
40
41
41
- name : Install Go
42
42
uses : actions/setup-go@v2
43
43
with :
44
44
go-version : ${{ env.GO_VERSION }}
45
45
46
- - name : Install Taskfile
46
+ - name : Install Task
47
47
uses : arduino/setup-task@v1
48
48
with :
49
49
repo-token : ${{ secrets.GITHUB_TOKEN }}
50
50
version : 3.x
51
51
52
- - name : Run unit tests
52
+ - name : Run tests
53
53
run : task go:test
54
54
55
55
- name : Send unit tests coverage to Codecov
Original file line number Diff line number Diff line change 33
33
runs-on : ${{ matrix.os }}
34
34
35
35
steps :
36
- - name : Checkout local repository
36
+ - name : Checkout repository
37
37
uses : actions/checkout@v2
38
38
39
39
- name : Run script with defaults
65
65
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
66
66
echo "BINDIR=${{ runner.temp }}/custom-installation-folder" >> "$GITHUB_ENV"
67
67
68
- - name : Checkout local repository
68
+ - name : Checkout repository
69
69
uses : actions/checkout@v2
70
70
71
71
- name : Run script with custom install location
95
95
VERSION : " 1.0.0"
96
96
97
97
steps :
98
- - name : Checkout local repository
98
+ - name : Checkout repository
99
99
uses : actions/checkout@v2
100
100
101
101
- name : Run script with version argument
@@ -121,7 +121,7 @@ jobs:
121
121
runs-on : ${{ matrix.os }}
122
122
123
123
steps :
124
- - name : Checkout local repository
124
+ - name : Checkout repository
125
125
uses : actions/checkout@v2
126
126
127
127
- name : Run script with nightly build version argument
You can’t perform that action at this time.
0 commit comments