Merge pull request #15457 from medyagh/cache_golang

add cache to all golang
pull/15458/head
Steven Powell 2022-12-02 15:39:34 -08:00 committed by GitHub
commit cbe3a03916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 41 additions and 4 deletions

View File

@ -52,6 +52,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install libvirt
run: |
sudo apt-get update
@ -70,6 +72,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install libvirt
run: |
sudo apt-get update

View File

@ -119,7 +119,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Download Binaries
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7
with:

View File

@ -56,6 +56,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install libvirt
run: |
sudo apt-get update
@ -123,6 +125,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
@ -223,8 +227,9 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
run: |
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64
@ -327,6 +332,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
run: |
@ -413,6 +420,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
@ -512,6 +521,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
# conntrack is required for kubernetes 1.18 and higher
# socat is required for kubectl port forward which is used in some tests such as validateHelmTillerAddon
# cri-dockerd is required for Kubernetes 1.24 and higher for none driver

View File

@ -54,6 +54,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install libvirt
run: |
sudo apt-get update
@ -72,6 +74,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install libvirt
run: |
sudo apt-get update
@ -119,6 +123,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
run: |
@ -219,8 +225,9 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
run: |
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64
@ -324,6 +331,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
run: |
@ -411,6 +420,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Install gopogh
shell: bash
@ -511,6 +522,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
# conntrack is required for kubernetes 1.18 and higher
# socat is required for kubectl port forward which is used in some tests such as validateHelmTillerAddon
# cri-dockerd is required for Kubernetes 1.24 and higher for none driver

View File

@ -49,6 +49,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Disable firewall
run: |
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off

View File

@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Bump gh version
id: bumpGh
run: |

View File

@ -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 Hugo version
id: bumpHugo
run: |

View File

@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
with:
go-version: ${{env.GO_VERSION}}
cache: true
cache-dependency-path: ./go.sum
- name: Bump Docsy version
id: bumpDocsy
run: |