cache tool

This commit is contained in:
Lunny Xiao 2023-10-27 17:38:33 +08:00
parent 05a8643056
commit ae179de554
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
9 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,9 @@ on:
tags:
- '*'
env:
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
release:
runs-on: ubuntu-latest

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
test-cockroach:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
lint:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
test-mssql:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
test-mysql:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
lint:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
lint:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
test-sqlite:

View File

@ -9,6 +9,7 @@ env:
GOPROXY: https://goproxy.io,direct
GOPATH: /go_path
GOCACHE: /go_cache
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs:
test-tidb: