Skip to content

Commit

Permalink
Specify goVersion for old govendor fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlewis committed Feb 14, 2024
1 parent 66e7ce3 commit e9c535b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
7 changes: 4 additions & 3 deletions test/fixtures/govendor-cmd/vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"comment": "",
"ignore": "test",
"heroku": {
"install":["./..."]
"install":["./..."],
"goVersion": "go1.12"
},
"package": [
]
}
]
}
5 changes: 4 additions & 1 deletion test/fixtures/govendor-excluded/vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"revisionTime": "2015-01-10T00:16:55Z"
}
],
"rootPath": "github.com/heroku/fixture"
"rootPath": "github.com/heroku/fixture",
"heroku": {
"goVersion": "go1.12"
}
}
3 changes: 2 additions & 1 deletion test/fixtures/govendor-mattes-migrate/vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"ignore": "test",
"heroku": {
"install":["."],
"additionalTools":["github.com/mattes/migrate"]
"additionalTools":["github.com/mattes/migrate"],
"goVersion": "go1.12"
},
"package": [],
"rootPath": "github.com/heroku/fixture"
Expand Down
7 changes: 5 additions & 2 deletions test/fixtures/govendor-with-tests/vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"comment": "",
"ignore": "test",
"package": [
]
}
],
"heroku": {
"goVersion": "go1.12"
}
}

0 comments on commit e9c535b

Please sign in to comment.