cache tools (#2353)

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2353
This commit is contained in:
Lunny Xiao 2023-10-27 13:58:13 +00:00
parent 05a8643056
commit 3b4c1be57a
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: