Skip to content

Commit 314a83d

Browse files
committed
fix: 🐛 fix relative path for mage
fix relative path for mage
1 parent 3905ae7 commit 314a83d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
- name: Task Build for mage
3232
run: task build-gg
3333
- name: Test with gg
34-
run: gg test
34+
run: ./gg test

Taskfile.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ tasks:
1919

2020
build-mage:
2121
cmds:
22-
- CGO_ENABLED=0 GOOS=linux go build -o mage mage-tools/mage.go
22+
- CGO_ENABLED=0 GOOS=linux go build -o ./mage mage-tools/mage.go
2323
silent: true
2424

2525
build-gg:
2626
cmds:
27-
- mage -d mage-tools -compile ../gg
27+
- ./mage -d mage-tools -compile ../gg
2828
deps:
2929
- build-mage
3030
silent: true
31+
3132
coverage:
3233
cmds:
3334
- go test -v -cover ./...

0 commit comments

Comments
 (0)