revert workflow
This commit is contained in:
parent
54436b333d
commit
c297f546ac
@ -1,12 +1,12 @@
|
|||||||
name: checks
|
name: checks
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: $HOME/go/path
|
GOPATH: /go_path
|
||||||
GOCACHE: $HOME/go/cache
|
GOCACHE: /go_cache
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
@ -17,7 +17,7 @@ jobs:
|
|||||||
id: cache-go-path
|
id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
uses: https://github.com/actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: $HOME/go/path
|
path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
go_path-${{ github.repository }}-
|
||||||
@ -26,7 +26,7 @@ jobs:
|
|||||||
id: cache-go-cache
|
id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
uses: https://github.com/actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: $HOME/go/cache
|
path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
go_cache-${{ github.repository }}-
|
go_cache-${{ github.repository }}-
|
||||||
@ -40,4 +40,4 @@ jobs:
|
|||||||
- name: vet
|
- name: vet
|
||||||
run: go vet
|
run: go vet
|
||||||
- name: test
|
- name: test
|
||||||
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
|
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
|
Loading…
Reference in New Issue
Block a user