revert workflow

This commit is contained in:
Braydon 2023-08-06 01:37:23 -04:00
parent 54436b333d
commit c297f546ac

@ -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 ./...