From 51305cc910e789123bed5567ddb7733a0f3651d2 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 17 Aug 2022 10:05:26 +0100 Subject: [PATCH] action: fix location mage --- .github/workflows/check-packetbeat.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-packetbeat.yml b/.github/workflows/check-packetbeat.yml index 500ea7692e62..14383ce4a9ce 100644 --- a/.github/workflows/check-packetbeat.yml +++ b/.github/workflows/check-packetbeat.yml @@ -22,6 +22,7 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Run check/update run: | - go get -u github.com/magefile/mage + export PATH=$PATH:$(go env GOPATH)/bin + go install github.com/magefile/mage@latest make -C ${{ env.BEAT_MODULE }} check update make check-no-changes