Skip to content

Commit 76e57f8

Browse files
committed
use task in go.mod
1 parent b533391 commit 76e57f8

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ jobs:
3737
go mod tidy
3838
git diff --color --exit-code
3939
40-
- name: Install Task
41-
uses: arduino/setup-task@v2
42-
with:
43-
version: 3.x
44-
repo-token: ${{ secrets.GITHUB_TOKEN }}
45-
4640
# This is required to allow licensee/setup-licensed to install Licensed via Ruby gem.
4741
- name: Install Ruby
4842
uses: ruby/setup-ruby@v1
@@ -56,5 +50,5 @@ jobs:
5650

5751
- name: Run deb copyright check
5852
run: |
59-
task update-deb-copyright
53+
go tool task update-deb-copyright
6054
git diff --color --exit-code

.github/workflows/go-test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,10 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v3
1818

19-
- name: Install Task
20-
uses: arduino/setup-task@v2
21-
with:
22-
version: 3.x
23-
repo-token: ${{ secrets.GITHUB_TOKEN }}
24-
2519
- name: Set up Go
2620
uses: actions/setup-go@v5
2721
with:
2822
go-version: ${{ env.GO_VERSION }}
2923

3024
- name: Run tests
31-
run: task test
25+
run: go tool task test

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,9 @@ jobs:
3636
with:
3737
go-version: ${{ env.GO_VERSION }}
3838

39-
- name: Install Task
40-
uses: arduino/setup-task@v2
41-
with:
42-
version: 3.x
43-
repo-token: ${{ secrets.GITHUB_TOKEN }}
44-
4539
- name: Build deb
4640
run: |
47-
task build-deb VERSION=${TAG_VERSION} ARCH=${{ matrix.arch }} RELEASE="true"
41+
go tool task build-deb VERSION=${TAG_VERSION} ARCH=${{ matrix.arch }} RELEASE="true"
4842
4943
- name: Create Github Release and upload artifacts
5044
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)