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: tags:
- '*' - '*'
env:
RUNNER_TOOL_CACHE: /toolcache # specify with your cache path
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: