diff --git a/.github/workflows/apidiff.yml b/.github/workflows/apidiff.yml index 7a68d91e7e0..d8b3fa1fefe 100644 --- a/.github/workflows/apidiff.yml +++ b/.github/workflows/apidiff.yml @@ -35,7 +35,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.19" - name: Execute go-apidiff diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 976df9937ca..3ac9827ea8a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,7 +31,7 @@ jobs: if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true' steps: - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.19 - name: Clone the code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18244da68d9..5b8a81b2b06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Fetch all tags run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '~1.19' - name: Run GoReleaser diff --git a/.github/workflows/testdata.yml b/.github/workflows/testdata.yml index f954b2abfea..84757297802 100644 --- a/.github/workflows/testdata.yml +++ b/.github/workflows/testdata.yml @@ -16,7 +16,7 @@ jobs: - name: Clone the code uses: actions/checkout@v3 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.19' - name: Remove pre-installed kustomize diff --git a/.github/workflows/unit-tests-legacy.yml b/.github/workflows/unit-tests-legacy.yml index 5feb81dc5fb..57b6aba799a 100644 --- a/.github/workflows/unit-tests-legacy.yml +++ b/.github/workflows/unit-tests-legacy.yml @@ -21,7 +21,7 @@ jobs: - name: Clone the code uses: actions/checkout@v3 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: # the go/v2 cannot be updated and is scaffold with golang 1.13 # (version used by its dep version of the controller-runtime) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index f2d079a2cc5..d549d688e42 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -38,7 +38,7 @@ jobs: - name: Clone the code uses: actions/checkout@v3 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.19" # This step is needed as the following one tries to remove @@ -69,7 +69,7 @@ jobs: - name: Clone the code uses: actions/checkout@v3 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.19" - name: Generate the coverage output