diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index c41d736..dc1d6ee 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,8 +5,8 @@ on: env: GOPROXY: https://goproxy.io,direct - GOPATH: $HOME/go_path - GOCACHE: $HOME/go_cache + GOPATH: $HOME/go/path + GOCACHE: $HOME/go/cache jobs: lint: @@ -17,7 +17,7 @@ jobs: id: cache-go-path uses: https://github.com/actions/cache@v3 with: - path: $HOME/go_path + path: $HOME/go/path key: go_path-${{ github.repository }}-${{ github.ref_name }} restore-keys: | go_path-${{ github.repository }}- @@ -26,7 +26,7 @@ jobs: id: cache-go-cache uses: https://github.com/actions/cache@v3 with: - path: $HOME/go_cache + path: $HOME/go/cache key: go_cache-${{ github.repository }}-${{ github.ref_name }} restore-keys: | go_cache-${{ github.repository }}-