diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index a5c59f89f4d..f5516d0a8fc 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5978a9fd38..d351999abb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: name: Check whether tests need to be run based on diff runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: antrea-io/has-changes@v2 @@ -32,7 +32,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea amd64 Docker image without pushing to registry if: ${{ github.repository != 'antrea-io/antrea' || github.event_name != 'push' || github.ref != 'refs/heads/main' }} run: | @@ -62,7 +62,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea UBI8 Docker image without pushing to registry if: ${{ github.repository != 'antrea-io/antrea' || github.event_name != 'push' || github.ref != 'refs/heads/main' }} run: | @@ -82,7 +82,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea Agent Simulator Docker image run: make build-scale-simulator - name: Push Antrea Agent Simulator Docker image to registry @@ -99,7 +99,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} runs-on: [windows-2019] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea Windows Docker image run: make build-windows - name: Push Antrea Windows Docker image to registry @@ -117,7 +117,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build antrea-mc-controller Docker image run: make build-antrea-mc-controller - name: Push antrea-mc-controller Docker image to registry @@ -134,7 +134,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build flow-aggregator Docker image run: make flow-aggregator-image - name: Check flow-aggregator Docker image diff --git a/.github/workflows/build_tag.yml b/.github/workflows/build_tag.yml index f939769b454..5518e84f652 100644 --- a/.github/workflows/build_tag.yml +++ b/.github/workflows/build_tag.yml @@ -23,7 +23,7 @@ jobs: runs-on: [ubuntu-latest] needs: get-version steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build and push Antrea Ubuntu amd64 Docker image to registry env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -47,7 +47,7 @@ jobs: runs-on: [ubuntu-latest] needs: get-version steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build and push Antrea UBI8 amd64 Docker image to registry env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -62,7 +62,7 @@ jobs: runs-on: [windows-2019] needs: get-version steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea Windows Docker image and push to registry env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -78,7 +78,7 @@ jobs: runs-on: [ubuntu-latest] needs: get-version steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build antrea-mc-controller Docker image and push to registry env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -93,7 +93,7 @@ jobs: runs-on: [ubuntu-latest] needs: get-version steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build flow-aggregator Docker image and push to registry env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 194466217d4..7c16d39f9f8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -62,7 +62,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 806269e6b35..60a4fb3c845 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -42,7 +42,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.antrea-version }} fetch-depth: 0 diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 214b035be4f..2e1d472a701 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -31,7 +31,7 @@ jobs: if: ${{ github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies') && contains(github.event.pull_request.labels.*.name, 'go') }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Check out the pull request HEAD ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/docker_update_base_windows.yml b/.github/workflows/docker_update_base_windows.yml index fe0a1dc7694..ca9db1f0acf 100644 --- a/.github/workflows/docker_update_base_windows.yml +++ b/.github/workflows/docker_update_base_windows.yml @@ -25,7 +25,7 @@ jobs: runs-on: windows-2019 steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.event.inputs.antrea-repository }} ref: ${{ github.event.inputs.antrea-ref }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 366c76a1e12..02c0719053d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: name: Check whether tests need to be run based on diff runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: antrea-io/has-changes@v2 @@ -36,7 +36,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -59,7 +59,7 @@ jobs: runs-on: [windows-2022] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -82,7 +82,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -114,7 +114,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -129,7 +129,7 @@ jobs: runs-on: [macos-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -144,7 +144,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -169,7 +169,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -184,7 +184,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -204,7 +204,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: @@ -240,7 +240,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: diff --git a/.github/workflows/golicense.yml b/.github/workflows/golicense.yml index c57360126cb..85803df8c80 100644 --- a/.github/workflows/golicense.yml +++ b/.github/workflows/golicense.yml @@ -18,7 +18,7 @@ jobs: name: Check whether tests need to be run based on diff runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: antrea-io/has-changes@v2 @@ -33,7 +33,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name != 'pull_request' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index abf4e08f83b..719a4a1a05d 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -19,7 +19,7 @@ jobs: name: Check whether tests need to be run based on diff runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: antrea-io/has-changes@v2 @@ -35,7 +35,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' }} runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea Docker image with code coverage support run: | ./hack/build-antrea-linux-all.sh --pull --coverage @@ -54,7 +54,7 @@ jobs: if: ${{ needs.check-changes.outputs.has_changes == 'yes' }} runs-on: [ ubuntu-latest ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: make flow-aggregator-ubuntu-coverage - name: Save Flow Aggregator image to tarball run: docker save -o flow-aggregator.tar antrea/flow-aggregator-coverage:latest @@ -75,7 +75,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -134,7 +134,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -199,7 +199,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -264,7 +264,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -323,7 +323,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -387,7 +387,7 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" sudo rm -rf "/usr/local/lib/android" df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -453,7 +453,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -495,7 +495,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -537,7 +537,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -579,7 +579,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -621,7 +621,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -663,7 +663,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Antrea image from previous job uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/netpol_cyclonus.yml b/.github/workflows/netpol_cyclonus.yml index e493be7547a..edf91f7e545 100644 --- a/.github/workflows/netpol_cyclonus.yml +++ b/.github/workflows/netpol_cyclonus.yml @@ -18,7 +18,7 @@ jobs: run: | sudo apt-get clean df -h - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: make - name: Install Kind run: | diff --git a/.github/workflows/process_release.yml b/.github/workflows/process_release.yml index df4e71c351c..186f0cb8fca 100644 --- a/.github/workflows/process_release.yml +++ b/.github/workflows/process_release.yml @@ -8,7 +8,7 @@ jobs: upload-release-assets: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: diff --git a/.github/workflows/trivy_scan.yml b/.github/workflows/trivy_scan.yml index 00ca71b80f2..915d4075821 100644 --- a/.github/workflows/trivy_scan.yml +++ b/.github/workflows/trivy_scan.yml @@ -18,7 +18,7 @@ jobs: if: github.repository == 'antrea-io/antrea' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Find greatest Antrea version id: find-antrea-greatest-version env: diff --git a/.github/workflows/trivy_scan_before_release.yml b/.github/workflows/trivy_scan_before_release.yml index 061029c9c6a..530a0c3921e 100644 --- a/.github/workflows/trivy_scan_before_release.yml +++ b/.github/workflows/trivy_scan_before_release.yml @@ -10,7 +10,7 @@ jobs: if: startsWith(github.event.pull_request.title, 'Release ') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Antrea Docker image run: | ./hack/build-antrea-linux-all.sh --pull diff --git a/.github/workflows/update_changelog.yml b/.github/workflows/update_changelog.yml index 770c9a8fb43..0bd740a8adc 100644 --- a/.github/workflows/update_changelog.yml +++ b/.github/workflows/update_changelog.yml @@ -29,7 +29,7 @@ jobs: needs: check-version if: ${{ needs.check-version.outputs.version != '' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 ref: main diff --git a/.github/workflows/verify_docs.yml b/.github/workflows/verify_docs.yml index a9500d4289e..ed135a1084e 100644 --- a/.github/workflows/verify_docs.yml +++ b/.github/workflows/verify_docs.yml @@ -12,7 +12,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Check-out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go using version from go.mod uses: actions/setup-go@v4 with: