diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b583ef5b17..c43bc34780 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/functional_verified.yml b/.github/workflows/functional_verified.yml index b6c6fe873a..68559ff6d7 100644 --- a/.github/workflows/functional_verified.yml +++ b/.github/workflows/functional_verified.yml @@ -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: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a73485bcbf..b7019baa33 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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 @@ -326,7 +331,9 @@ jobs: echo "--------------------------" - uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613 with: - go-version: ${{env.GO_VERSION}} + 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 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5af46bfed0..15ec5983e9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 diff --git a/.github/workflows/time-to-k8s-public-chart.yml b/.github/workflows/time-to-k8s-public-chart.yml index d5cb5fc57b..2883c8226b 100644 --- a/.github/workflows/time-to-k8s-public-chart.yml +++ b/.github/workflows/time-to-k8s-public-chart.yml @@ -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 diff --git a/.github/workflows/update-gh-version.yml b/.github/workflows/update-gh-version.yml index e1f1e1133a..3addf195c1 100644 --- a/.github/workflows/update-gh-version.yml +++ b/.github/workflows/update-gh-version.yml @@ -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: | diff --git a/.github/workflows/update-hugo-version.yml b/.github/workflows/update-hugo-version.yml index 60ab087d1e..2c29d92eb3 100644 --- a/.github/workflows/update-hugo-version.yml +++ b/.github/workflows/update-hugo-version.yml @@ -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: | diff --git a/.github/workflows/update_docsy_version.yml b/.github/workflows/update_docsy_version.yml index 29cb044d75..ab30f6edd2 100644 --- a/.github/workflows/update_docsy_version.yml +++ b/.github/workflows/update_docsy_version.yml @@ -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: |