diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2ba83c0c..60a9858c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,12 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build env: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 276cfb73e..044e90117 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/image-build.yml b/.github/workflows/image-build.yml index e20b74116..22afe163c 100644 --- a/.github/workflows/image-build.yml +++ b/.github/workflows/image-build.yml @@ -6,14 +6,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 # note: disable sbom/provenance for now (gchr.io does not managed well yet) - name: Build container image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: false @@ -25,7 +25,7 @@ jobs: # note: disable sbom/provenance for now (gchr.io does not managed well yet) - name: Build container debug image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: false @@ -40,13 +40,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build container image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: false @@ -58,10 +58,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Download OKD Builder Dockerfile run: curl https://raw.githubusercontent.com/okd-project/images/main/builder/Dockerfile -o images/okd-builder.Dockerfile diff --git a/.github/workflows/image-push-master.yml b/.github/workflows/image-push-master.yml index cbed6982f..499668272 100644 --- a/.github/workflows/image-push-master.yml +++ b/.github/workflows/image-push-master.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -26,7 +26,7 @@ jobs: - name: Push container image for thick plugin if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true @@ -41,14 +41,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -56,7 +56,7 @@ jobs: - name: Push thin container image if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true @@ -70,7 +70,7 @@ jobs: - name: Push thin container debug image if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true @@ -88,14 +88,14 @@ jobs: # runs-on: ubuntu-latest # steps: # - name: Check out code into the Go module directory -# uses: actions/checkout@v3 +# uses: actions/checkout@v4 # # - name: Set up Docker Buildx -# uses: docker/setup-buildx-action@v2 +# uses: docker/setup-buildx-action@v3 # # - name: Login to GitHub Container Registry # if: github.repository_owner == 'k8snetworkplumbingwg' -# uses: docker/login-action@v2 +# uses: docker/login-action@v3 # with: # registry: ghcr.io # username: ${{ github.repository_owner }} @@ -103,7 +103,7 @@ jobs: # # - name: Push container image # if: github.repository_owner == 'k8snetworkplumbingwg' -# uses: docker/build-push-action@v3 +# uses: docker/build-push-action@v5 # with: # context: . # push: true diff --git a/.github/workflows/image-push-release.yml b/.github/workflows/image-push-release.yml index c0c716e5e..d787ad64b 100644 --- a/.github/workflows/image-push-release.yml +++ b/.github/workflows/image-push-release.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -26,7 +26,7 @@ jobs: - name: Docker meta id: docker_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ghcr.io/${{ github.repository }} flavor: | @@ -34,7 +34,7 @@ jobs: - name: Push container image for thick plugin if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true @@ -49,14 +49,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -64,7 +64,7 @@ jobs: - name: Docker meta id: docker_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ghcr.io/${{ github.repository }} flavor: | @@ -72,7 +72,7 @@ jobs: - name: Push thin container image if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true @@ -86,7 +86,7 @@ jobs: - name: Push thin container debug image if: ${{ github.repository_owner == env.image-push-owner }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true @@ -104,14 +104,14 @@ jobs: # runs-on: ubuntu-latest # steps: # - name: Check out code into the Go module directory -# uses: actions/checkout@v3 +# uses: actions/checkout@v4 # # - name: Set up Docker Buildx -# uses: docker/setup-buildx-action@v1 +# uses: docker/setup-buildx-action@v3 # # - name: Login to GitHub Container Registry # if: github.repository_owner == 'k8snetworkplumbingwg' -# uses: docker/login-action@v1 +# uses: docker/login-action@v3 # with: # registry: ghcr.io # username: ${{ github.repository_owner }} @@ -126,7 +126,7 @@ jobs: # # - name: Push container image # if: github.repository_owner == 'k8snetworkplumbingwg' -# uses: docker/build-push-action@v2 +# uses: docker/build-push-action@v5 # with: # context: . # push: true diff --git a/.github/workflows/kind-e2e.yml b/.github/workflows/kind-e2e.yml index 585104e30..43beb206e 100644 --- a/.github/workflows/kind-e2e.yml +++ b/.github/workflows/kind-e2e.yml @@ -33,13 +33,13 @@ jobs: github.event_name == 'pull_request' ) || (github.event_name == 'push' && github.event.commits != '[]' ) steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.x @@ -52,7 +52,7 @@ jobs: run: docker run -d --restart=always -p "5000:5000" --name "kind-registry" registry:2 - name: Build latest-amd64 - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . load: true @@ -100,7 +100,7 @@ jobs: - name: Upload kind logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kind-logs-${{ env.JOB_NAME }}-${{ github.run_id }} path: /tmp/kind/logs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6690ce29c..43e5e496a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,17 +8,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19.x - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: version: latest args: release --rm-dist diff --git a/.github/workflows/stale-issues-prs.yml b/.github/workflows/stale-issues-prs.yml index da290322e..b64645897 100644 --- a/.github/workflows/stale-issues-prs.yml +++ b/.github/workflows/stale-issues-prs.yml @@ -7,7 +7,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v9 with: stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.' stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fc3ab0ec..23d32df22 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,12 +9,12 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Revive Action by pulling pre-built image uses: docker://morphy/revive-action:v2