]> Sergey Matveev's repositories - btrtrc.git/commitdiff
go CI: Add GOPATH bin to GITHUB_PATH
authorMatt Joiner <anacrolix@gmail.com>
Mon, 7 Feb 2022 05:15:40 +0000 (16:15 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 7 Feb 2022 05:16:10 +0000 (16:16 +1100)
This should fix godo not being in the path in a later step.

.github/workflows/go.yml

index 39ed9e781d7e68dfe654c16f05672bc03f2e077a..c124f87d4ede8b7beca4d02c623d660e367259bc 100644 (file)
@@ -28,6 +28,7 @@ jobs:
         ./make.bash
         echo "GOROOT=$HOME/gotip" >> "$GITHUB_ENV"
         echo "$HOME/gotip/bin:$PATH" >> "$GITHUB_PATH"
+        echo "$(go env GOPATH)/bin:$PATH" >> "$GITHUB_PATH"
 
     - name: Test
       run: go test -race -count 2 ./...