From 7f0ecb30721f3741865a9c580a9d7a4e9a3c4b50 Mon Sep 17 00:00:00 2001 From: Tyler Auerbeck Date: Tue, 10 Sep 2024 00:26:13 -0400 Subject: [PATCH] bump core github actions to latest release Signed-off-by: Tyler Auerbeck --- .github/workflows/bump_metallb.yml | 6 +++--- .github/workflows/ci.yaml | 6 +++--- .github/workflows/composite/collectlogs/action.yaml | 4 ++-- .github/workflows/composite/setup/action.yaml | 2 +- .github/workflows/publish.yaml | 12 ++++++------ .github/workflows/verify_version.yaml | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/bump_metallb.yml b/.github/workflows/bump_metallb.yml index 07ac7257a..b259cfe52 100644 --- a/.github/workflows/bump_metallb.yml +++ b/.github/workflows/bump_metallb.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Latest Metal LB Operator - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: metallboperator - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: metallb/metallb path: metallb @@ -45,7 +45,7 @@ jobs: else echo "has_changes=true" >> $GITHUB_OUTPUT fi - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Bump metallb diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1017b9f21..9db46909f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -153,7 +153,7 @@ jobs: ref: v0.13 # previous release version fetch-depth: 0 # Fetch all history for all tags and branches - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" cache: true @@ -325,14 +325,14 @@ jobs: rm -f Chart.yaml - name: Checkout MetalLB - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: metallb/metallb path: metallb ref: "${{ steps.metallb_ref.outputs.content }}" - name: Checkout frr-k8s - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: metallb/frr-k8s path: frr-k8s diff --git a/.github/workflows/composite/collectlogs/action.yaml b/.github/workflows/composite/collectlogs/action.yaml index 82947e4bb..1c0704480 100644 --- a/.github/workflows/composite/collectlogs/action.yaml +++ b/.github/workflows/composite/collectlogs/action.yaml @@ -10,7 +10,7 @@ runs: using: "composite" steps: - name: Archive E2E Tests logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifact-name }}-logs path: /tmp/kind_logs @@ -26,7 +26,7 @@ runs: sudo chmod -R o+r /tmp/kind_logs - name: Archive kind logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifact-name }}-kind-logs path: /tmp/kind_logs diff --git a/.github/workflows/composite/setup/action.yaml b/.github/workflows/composite/setup/action.yaml index 49ac34a51..bf541c355 100644 --- a/.github/workflows/composite/setup/action.yaml +++ b/.github/workflows/composite/setup/action.yaml @@ -10,7 +10,7 @@ runs: path: metallboperator fetch-depth: 0 # Fetch all history for all tags and branches - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" cache: true diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4939b59ca..98b2433bb 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,11 +18,11 @@ jobs: name: Go ${{ matrix.go }} steps: - name: Checkout Metal LB Operator - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 # Fetch all history for all tags and branches - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 id: go with: go-version: ${{ matrix.go }} @@ -52,7 +52,7 @@ jobs: - name: Archive E2E Tests logs if: ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test_e2e_logs path: /tmp/test_e2e_logs/ @@ -64,7 +64,7 @@ jobs: - name: Archive kind logs if: ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kind_logs path: /tmp/kind_logs @@ -85,7 +85,7 @@ jobs: cosign-release: "v2.2.4" - name: Code checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup docker buildx uses: docker/setup-buildx-action@v2 @@ -138,7 +138,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') # we craft releases only for tags steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Build changelog diff --git a/.github/workflows/verify_version.yaml b/.github/workflows/verify_version.yaml index 809fc8589..fe4b80aa3 100644 --- a/.github/workflows/verify_version.yaml +++ b/.github/workflows/verify_version.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Verify Version Bump