Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashwat-K committed Jun 15, 2024
1 parent 7371587 commit 6b636e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update_go_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
id: update-go-version
run: |
latest_go_version=$(curl -s https://go.dev/VERSION?m=text | head -n 1 | awk -F 'go' '{print $2}')
go mod edit -go ${latest_go_version}
go mod edit -go=${latest_go_version}
echo "Updated go version to ${latest_go_version}"
echo "::set-output name=latest_go_version::${latest_go_version}"
shell: bash

- name: Set up Updated Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -58,4 +59,4 @@ jobs:
title: Update Go version and modules to latest version
body: |
This PR updates the Go version and its modules to the latest version.
labels: go, dependencies
labels: go, dependencies

0 comments on commit 6b636e8

Please sign in to comment.