cache tools (#2353)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2353
This commit is contained in:
parent
05a8643056
commit
3b4c1be57a
|
@ -5,6 +5,9 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-cockroach:
|
test-cockroach:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-mssql:
|
test-mssql:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-mysql:
|
test-mysql:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-sqlite:
|
test-sqlite:
|
||||||
|
|
|
@ -9,6 +9,7 @@ env:
|
||||||
GOPROXY: https://goproxy.io,direct
|
GOPROXY: https://goproxy.io,direct
|
||||||
GOPATH: /go_path
|
GOPATH: /go_path
|
||||||
GOCACHE: /go_cache
|
GOCACHE: /go_cache
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-tidb:
|
test-tidb:
|
||||||
|
|
Loading…
Reference in New Issue