Merge pull request #15245 from jongwooo/chore/use-setup-go-action-to-cache-dependencies
Use setup-go action to cache dependenciespull/15395/head
commit
c2c9b1a40a
|
@ -24,6 +24,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Download Dependencies
|
||||
run: go mod download
|
||||
- name: Build Binaries
|
||||
|
|
|
@ -19,6 +19,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Generate Docs
|
||||
id: gendocs
|
||||
run: |
|
||||
|
|
|
@ -38,6 +38,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Download Dependencies
|
||||
run: go mod download
|
||||
- name: Build Binaries
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Update Leaderboard
|
||||
id: leaderboard
|
||||
run: |
|
||||
|
|
|
@ -28,6 +28,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Download Dependencies
|
||||
run: go mod download
|
||||
- name: Build Binaries
|
||||
|
@ -72,6 +74,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Install libvirt
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
|
|
@ -26,6 +26,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Download Dependencies
|
||||
run: go mod download
|
||||
- name: Build Binaries
|
||||
|
|
|
@ -26,6 +26,8 @@ jobs:
|
|||
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
|
||||
- name: Build
|
||||
run: make
|
||||
|
|
|
@ -23,6 +23,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Benchmark time-to-k8s for Docker driver with Docker runtime
|
||||
run: |
|
||||
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh docker docker
|
||||
|
|
|
@ -19,6 +19,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: time-to-k8s Benchmark
|
||||
id: timeToK8sBenchmark
|
||||
run: |
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Install libvirt
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Bump Golang Versions
|
||||
id: bumpGolang
|
||||
run: |
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Bump Golint Versions
|
||||
id: bumpGolint
|
||||
run: |
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Bump gopogh Versions
|
||||
id: bumpGopogh
|
||||
run: |
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Bump Gotestsum Versions
|
||||
id: bumpGotestsum
|
||||
run: |
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Bump Kubernetes Versions
|
||||
id: bumpk8s
|
||||
run: |
|
||||
|
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Bump Kubeadm Constants for Kubernetes Images
|
||||
id: bumpKubeadmConsts
|
||||
run: |
|
||||
|
|
|
@ -23,6 +23,8 @@ jobs:
|
|||
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
cache: true
|
||||
cache-dependency-path: ./go.sum
|
||||
- name: Update Yearly Leaderboard
|
||||
id: yearlyLeaderboard
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue