diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 49a67415db6..e06ce32904a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -17,7 +17,7 @@ jobs: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eddf19de7c0..e07aa4d8a60 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -34,7 +34,7 @@ jobs: config-file: ./.github/codeql-config.yml - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' @@ -75,7 +75,7 @@ jobs: config-file: ./.github/codeql-config.yml - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index bc88ea3e871..ebe3f1f3971 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.ANTREA_BOT_WRITE_PAT }} show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run go mod tidy diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5c9ceeaf73a..aff957c60cd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -41,7 +41,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run unit tests @@ -66,7 +66,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run unit tests @@ -91,7 +91,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run integration tests @@ -125,7 +125,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run golangci-lint @@ -142,7 +142,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run golangci-lint @@ -159,7 +159,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Build Antrea binaries for amd64 @@ -186,7 +186,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Build Antrea windows binaries @@ -203,7 +203,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' # tidy check need to be run before code generation which will regenerate codes. @@ -225,7 +225,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run verify scripts @@ -263,7 +263,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run Go benchmark test diff --git a/.github/workflows/golicense.yml b/.github/workflows/golicense.yml index bafe24749bd..96a5ad5b05a 100644 --- a/.github/workflows/golicense.yml +++ b/.github/workflows/golicense.yml @@ -38,7 +38,7 @@ jobs: with: show-progress: false - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Cache licensing information for dependencies diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index ce5c196eafe..171ad6c9386 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -143,7 +143,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -211,7 +211,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -279,7 +279,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -341,7 +341,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -408,7 +408,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -477,7 +477,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -522,7 +522,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -567,7 +567,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -612,7 +612,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job @@ -657,7 +657,7 @@ jobs: - uses: actions/checkout@v4 with: show-progress: false - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Download Antrea image from previous job diff --git a/.github/workflows/process_release.yml b/.github/workflows/process_release.yml index 186f0cb8fca..5af80cadbd8 100644 --- a/.github/workflows/process_release.yml +++ b/.github/workflows/process_release.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' # make sure the latest patch version is used diff --git a/.github/workflows/verify_docs.yml b/.github/workflows/verify_docs.yml index ed135a1084e..86acdaaff17 100644 --- a/.github/workflows/verify_docs.yml +++ b/.github/workflows/verify_docs.yml @@ -14,7 +14,7 @@ jobs: - name: Check-out code uses: actions/checkout@v4 - name: Set up Go using version from go.mod - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run verify scripts