diff --git a/.github/workflows/update_go_modules.yml b/.github/workflows/update_go_modules.yml index 51d8c0d..b371c9e 100644 --- a/.github/workflows/update_go_modules.yml +++ b/.github/workflows/update_go_modules.yml @@ -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 @@ -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 \ No newline at end of file