Skip to content

Commit

Permalink
Updates github actions to bump goa version in presbumit-test.sh
Browse files Browse the repository at this point in the history
Signed-off-by: PuneetPunamiya <[email protected]>
  • Loading branch information
PuneetPunamiya authored and tekton-robot committed Aug 2, 2024
1 parent 60afb28 commit 1c1061d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/goa-gen-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
# Compare the versions
if [ "${currentVersion}" != "${listAllLatestVersions[-1]}" ]
then
# Update goa version in presbumite-test.sh
go_install_command="go install goa.design/goa/v3/cmd/goa@"
sed -i "s#${go_install_command}v[0-9]\+\.[0-9]\+\.[0-9]\+#${go_install_command}${listAllLatestVersions[-1]}#" test/presubmit-tests.sh
# Update goa version in go.mod
sed -i "[email protected]/goa/v3 ${currentVersion}@goa.design/goa/v3 ${listAllLatestVersions[-1]}@g" go.mod
sed -i "[email protected]/plugins/v3 ${currentVersion}@goa.design/plugins/v3 ${listAllLatestVersions[-1]}@g" go.mod
go mod tidy
Expand Down

0 comments on commit 1c1061d

Please sign in to comment.