diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index 2b8cdd3c..f482293c 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -63,7 +63,7 @@ jobs: - name: Gather build metadata id: meta - uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0 + uses: docker/metadata-action@v5 with: images: ${{ steps.image-name.outputs.value }} flavor: | @@ -83,7 +83,7 @@ jobs: # Multiple exporters are not supported yet # See https://github.com/moby/buildkit/pull/2760 - name: Determine build output - uses: haya14busa/action-cond@1d6e8a12b20cdb4f1954feef9aa475b9c390cab5 # v1.1.1 + uses: haya14busa/action-cond@v1.2.1 id: build-output with: cond: ${{ inputs.publish }} @@ -100,7 +100,7 @@ jobs: - name: Build and push image id: build - uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1 + uses: docker/build-push-action@v5 # v4.1.1 with: context: . platforms: linux/amd64,linux/arm64 @@ -132,7 +132,7 @@ jobs: output: trivy-results.sarif - name: Upload Trivy scan results as artifact - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + uses: actions/upload-artifact@v4 with: name: "[${{ github.job }}] Trivy scan results" path: trivy-results.sarif diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b6f29baa..92fd04d1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' @@ -55,12 +55,12 @@ jobs: uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' - name: Cache licenses - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: licensei-v2-${{ hashFiles('go.sum') }} path: | diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 5d8f9815..b1a7435f 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and export uses: docker/build-push-action@v4 @@ -32,7 +32,7 @@ jobs: outputs: type=docker,dest=/tmp/controller.tar - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: controller path: /tmp/controller.tar @@ -49,10 +49,10 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: controller path: /tmp @@ -63,12 +63,12 @@ jobs: docker image ls -a - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Set up kubectl - uses: azure/setup-kubectl@v3 + uses: azure/setup-kubectl@v4.0.0 with: version: ${{ env.KUBECTL_VERSION }} @@ -83,7 +83,7 @@ jobs: - name: Archive Test Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: go-e2e-test-cluster-logs path: build/_test @@ -100,10 +100,10 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: controller path: /tmp @@ -114,12 +114,12 @@ jobs: docker image ls -a - name: Set up kubectl - uses: azure/setup-kubectl@v3 + uses: azure/setup-kubectl@v4.0.0 with: version: ${{ env.KUBECTL_VERSION }} - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} @@ -159,8 +159,8 @@ jobs: - name: Archive Test Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: script-e2e-test-cluster-logs + name: script-e2e-test-cluster-logs-${{ matrix.kube }} path: build/_test retention-days: 5