File tree Expand file tree Collapse file tree 7 files changed +17
-17
lines changed Expand file tree Collapse file tree 7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 2323 - " etc/schemas/**/*.json"
2424
2525jobs :
26- test-go :
26+ check :
2727 runs-on : ubuntu-latest
2828
2929 steps :
3535 with :
3636 go-version : ${{ env.GO_VERSION }}
3737
38- - name : Install Taskfile
38+ - name : Install Task
3939 uses : arduino/setup-task@v1
4040 with :
4141 repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2626 - name : Checkout repository
2727 uses : actions/checkout@v2
2828
29- - name : Install Taskfile
29+ - name : Install Task
3030 uses : arduino/setup-task@v1
3131 with :
3232 repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3535 with :
3636 fetch-depth : 0
3737
38- - name : Install Taskfile
38+ - name : Install Task
3939 uses : arduino/setup-task@v1
4040 with :
4141 repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3333 case-insensitive-regex : true
3434 changelog-file-path : " ${{ env.DIST_DIR }}/CHANGELOG.md"
3535
36- - name : Install Taskfile
36+ - name : Install Task
3737 uses : arduino/setup-task@v1
3838 with :
3939 repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3030 - " tests/**"
3131
3232jobs :
33- test-go :
33+ test :
3434 strategy :
3535 matrix :
3636 operating-system :
@@ -41,15 +41,15 @@ jobs:
4141 runs-on : ${{ matrix.operating-system }}
4242
4343 steps :
44- - name : Checkout local repository
44+ - name : Checkout repository
4545 uses : actions/checkout@v2
4646
4747 - name : Install Go
4848 uses : actions/setup-go@v2
4949 with :
5050 go-version : ${{ env.GO_VERSION }}
5151
52- - name : Install Taskfile
52+ - name : Install Task
5353 uses : arduino/setup-task@v1
5454 with :
5555 repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/test-go-task.md
2- name : Run tests
2+ name : Test Go
33
44env :
55 # See: https://github.com/actions/setup-go/tree/v2#readme
2424 - " **/testdata/**"
2525
2626jobs :
27- test-go :
27+ test :
2828 strategy :
2929 matrix :
3030 operating-system :
@@ -35,21 +35,21 @@ jobs:
3535 runs-on : ${{ matrix.operating-system }}
3636
3737 steps :
38- - name : Checkout local repository
38+ - name : Checkout repository
3939 uses : actions/checkout@v2
4040
4141 - name : Install Go
4242 uses : actions/setup-go@v2
4343 with :
4444 go-version : ${{ env.GO_VERSION }}
4545
46- - name : Install Taskfile
46+ - name : Install Task
4747 uses : arduino/setup-task@v1
4848 with :
4949 repo-token : ${{ secrets.GITHUB_TOKEN }}
5050 version : 3.x
5151
52- - name : Run unit tests
52+ - name : Run tests
5353 run : task go:test
5454
5555 - name : Send unit tests coverage to Codecov
Original file line number Diff line number Diff line change 3333 runs-on : ${{ matrix.os }}
3434
3535 steps :
36- - name : Checkout local repository
36+ - name : Checkout repository
3737 uses : actions/checkout@v2
3838
3939 - name : Run script with defaults
6565 # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
6666 echo "BINDIR=${{ runner.temp }}/custom-installation-folder" >> "$GITHUB_ENV"
6767
68- - name : Checkout local repository
68+ - name : Checkout repository
6969 uses : actions/checkout@v2
7070
7171 - name : Run script with custom install location
9595 VERSION : " 1.0.0"
9696
9797 steps :
98- - name : Checkout local repository
98+ - name : Checkout repository
9999 uses : actions/checkout@v2
100100
101101 - name : Run script with version argument
@@ -121,7 +121,7 @@ jobs:
121121 runs-on : ${{ matrix.os }}
122122
123123 steps :
124- - name : Checkout local repository
124+ - name : Checkout repository
125125 uses : actions/checkout@v2
126126
127127 - name : Run script with nightly build version argument
You can’t perform that action at this time.
0 commit comments