File tree Expand file tree Collapse file tree 3 files changed +5
-59
lines changed Expand file tree Collapse file tree 3 files changed +5
-59
lines changed Original file line number Diff line number Diff line change 2323 steps :
2424 - uses : actions/checkout@v4
2525
26- - name : Install Task
27- uses : arduino/setup-task@v2
28- with :
29- version : 3.x
30- repo-token : ${{ secrets.GITHUB_TOKEN }}
31-
3226 - name : build
33- run : task build # needed to download the embedded resources
27+ run : go tool task build # needed to download the embedded resources
3428 env :
3529 GH_TOKEN : ${{ secrets.ARDUINOBOT_TOKEN }}
3630
Original file line number Diff line number Diff line change 1010 GO_VERSION : " 1.25.1"
1111
1212jobs :
13- go-test-orchestrator :
13+ go-test :
1414 runs-on : ubuntu-latest
1515 steps :
16- - name : install dependencies
17- run : |
18- sudo apt-get update
19- sudo apt-get install -y android-tools-adb
20-
2116 - name : Checkout code
2217 uses : actions/checkout@v3
2318
24- - name : Install Task
25- uses : arduino/setup-task@v2
26- with :
27- version : 3.x
28- repo-token : ${{ secrets.GITHUB_TOKEN }}
29-
30- - name : Set up Go
31- uses : actions/setup-go@v5
32- with :
33- go-version : ${{ env.GO_VERSION }}
34-
35- - name : Run `orchestrator` tests
36- run : task test:orchestrator
37-
38- go-test-pkg :
39- runs-on : ${{ matrix.os }}
40- strategy :
41- matrix :
42- os : [ubuntu-latest, windows-latest]
43-
44- steps :
45- - name : install dependencies [Linux]
46- if : runner.os == 'Linux'
47- run : |
48- sudo apt-get update
49- sudo apt-get install -y android-tools-adb
50-
51- - name : Checkout code
52- uses : actions/checkout@v3
53-
54- - name : Install Task
55- uses : arduino/setup-task@v2
56- with :
57- version : 3.x
58- repo-token : ${{ secrets.GITHUB_TOKEN }}
59-
6019 - name : Set up Go
6120 uses : actions/setup-go@v5
6221 with :
6322 go-version : ${{ env.GO_VERSION }}
6423
65- - name : Run `pkg` tests
66- run : task test:pkg
24+ - name : Run tests
25+ run : go tool task test
Original file line number Diff line number Diff line change 5252 with :
5353 go-version : ${{ env.GO_VERSION }}
5454
55- - name : Install Taskfile
56- uses : arduino/setup-task@v2
57- with :
58- version : " 3.x"
59- repo-token : ${{ secrets.GITHUB_TOKEN }}
60-
6155 - name : Build Binary
62- run : |
63- task build
56+ run : go tool task build
6457 env :
6558 GOARCH : ${{ matrix.arch }}
6659 GOOS : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments