Skip to content

Commit

Permalink
Merge pull request #347 from paketo-buildpacks/move_setup_go
Browse files Browse the repository at this point in the history
Move setup-go to the top, so the proper version of Go is installed before Go is used for any reason
  • Loading branch information
Daniel Mikusa authored Aug 20, 2021
2 parents 7bc7ff9 + 2bf44c5 commit bbf06bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions octo/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ func ContributeTest(descriptor Descriptor) (*Contribution, error) {
Name: "Create Package Test",
RunsOn: []actions.VirtualEnvironment{actions.UbuntuLatest},
Steps: []actions.Step{
{
Uses: "actions/setup-go@v2",
With: map[string]interface{}{"go-version": GoVersion},
},
{
Name: "Install create-package",
Run: StatikString("/install-create-package.sh"),
Expand All @@ -134,10 +138,6 @@ func ContributeTest(descriptor Descriptor) (*Contribution, error) {
If: fmt.Sprintf("${{ %t }}", descriptor.Package.Platform.OS == PlatformWindows),
Run: StatikString("/enable-pack-experimental.sh"),
},
{
Uses: "actions/setup-go@v2",
With: map[string]interface{}{"go-version": GoVersion},
},
{
Uses: "actions/checkout@v2",
},
Expand Down

0 comments on commit bbf06bb

Please sign in to comment.