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:
- '*'
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: