From c297f546acd7d17c96a08e7ae24678d501f9f465 Mon Sep 17 00:00:00 2001 From: Braydon Date: Sun, 6 Aug 2023 01:37:23 -0400 Subject: [PATCH] revert workflow --- .gitea/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index dc1d6ee..39cbc9e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -1,12 +1,12 @@ name: checks -on: +on: - push - pull_request env: GOPROXY: https://goproxy.io,direct - GOPATH: $HOME/go/path - GOCACHE: $HOME/go/cache + GOPATH: /go_path + GOCACHE: /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: /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: /go_cache key: go_cache-${{ github.repository }}-${{ github.ref_name }} restore-keys: | go_cache-${{ github.repository }}- @@ -40,4 +40,4 @@ jobs: - name: vet run: go vet - name: test - run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... + run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... \ No newline at end of file