From 8e41d4394ca779810a2c96255c0785d28c7bd9ab Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Thu, 3 Oct 2024 17:14:07 -0600 Subject: [PATCH] Fix golang upgrade workflow 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 }}