-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: automate Crossplane generation process #26
base: main
Are you sure you want to change the base?
Conversation
@@ -11,7 +11,7 @@ on: | |||
|
|||
env: | |||
# Common versions | |||
GO_VERSION: '1.19' | |||
GO_VERSION: '1.21' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you try in go 1.22 if it is possible?
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.21' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you try in 1.22 ?
|
||
const initialConfigTemplate = `package {{ .PackageName }} | ||
|
||
import "github.com/upbound/upjet/pkg/config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could all those templates be put in a single tmpl file? In addition to potential syntaxical coloration, it could also be helpful to have a unified view of what the template look like.
Feel free to use additional templating function if useful.
No description provided.