From edff3b98b78a6268c5421b0a3bb7eda0d3b9cd0e Mon Sep 17 00:00:00 2001 From: Florent Poinsard <35779988+frouioui@users.noreply.github.com> Date: Thu, 3 Oct 2024 18:08:33 -0600 Subject: [PATCH] Fix golang upgrade workflow (#16890) Signed-off-by: Florent Poinsard --- .github/workflows/update_golang_version.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update_golang_version.yml b/.github/workflows/update_golang_version.yml index b25f3e72da1..dd283cba599 100644 --- a/.github/workflows/update_golang_version.yml +++ b/.github/workflows/update_golang_version.yml @@ -19,16 +19,16 @@ jobs: name: Update Golang Version runs-on: ubuntu-latest steps: - - name: Set up Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version-file: go.mod - - name: Check out code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: ref: ${{ matrix.branch }} + - name: Set up Go + uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + with: + go-version-file: go.mod + - name: Detect new version and update codebase env: GH_TOKEN: ${{ github.token }}