Skip to content

Commit 3580350

Browse files
committed
fix workflows
1 parent 4584531 commit 3580350

File tree

3 files changed

+5
-59
lines changed

3 files changed

+5
-59
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@ jobs:
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

.github/workflows/go-test.yml

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -10,57 +10,16 @@ env:
1010
GO_VERSION: "1.25.1"
1111

1212
jobs:
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

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,8 @@ jobs:
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 }}

0 commit comments

Comments
 (0)