From 242f91d41f0ee4b178ed7e93c3c9119c6bdad575 Mon Sep 17 00:00:00 2001 From: kcmvp Date: Sat, 13 Jan 2024 13:01:45 +0800 Subject: [PATCH] update path --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15c5ec2..8488f6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,20 +21,16 @@ jobs: uses: actions/setup-go@v4 with: go-version: '1.21.4' - - name: show environment - run: echo "${GOPATH}" - name: setup gob run: go install github.com/kcmvp/gob@latest + - name: setup gob + run: | + echo "PATH=$GOPATH:$PATH" >> $GITHUB_ENV + - name: Test with gob run: gob test - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./... - - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: