-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,21 @@ const ( | |
short = "Create a protocol buffer workflow for golang code generation." | ||
long = `Create a protocol buffer workflow for golang code generation. The workflow | ||
generated here works in a setup of two Github repositories. Call them apischema | ||
and gocode. The workflow generated with the following command is added to the | ||
and apigocode. The workflow generated with the following command is added to the | ||
apischema repository. | ||
workflow create pbfgo -o xh3b4sd -r gocode | ||
workflow create pbfgo -o fancy-organization -r apigocode | ||
In order to make the workflow function correctly a deploy key must be generated | ||
and distributed. The public key is added as deploy key with write access to the | ||
gocode repository. The private key is added as Github Action Secret to the | ||
apischema repository. See the link below for more information. | ||
apigocode repository. The private key is added as Github Action Secret to the | ||
apischema repository, call it SSH_DEPLOY_KEY_APIGOCODE. A new key pair can be | ||
generated like shown below. | ||
ssh-keygen -t ed25519 -C [email protected] | ||
More information about the Github Action used to push changes from one | ||
repository to another can be found following the link below. | ||
https://github.com/cpina/github-action-push-to-another-repository | ||
` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,21 @@ const ( | |
short = "Create a protocol buffer workflow for typescript code generation." | ||
long = `Create a protocol buffer workflow for typescript code generation. The workflow | ||
generated here works in a setup of two Github repositories. Call them apischema | ||
and tscode. The workflow generated with the following command is added to the | ||
and apitscode. The workflow generated with the following command is added to the | ||
apischema repository. | ||
workflow create pbfts -o xh3b4sd -r tscode | ||
workflow create pbfts -o fancy-organization -r apitscode | ||
In order to make the workflow function correctly a deploy key must be generated | ||
and distributed. The public key is added as deploy key with write access to the | ||
gocode repository. The private key is added as Github Action Secret to the | ||
apischema repository. See the link below for more information. | ||
apitscode repository. The private key is added as Github Action Secret to the | ||
apischema repository, call it SSH_DEPLOY_KEY_APITSCODE. A new key pair can be | ||
generated like shown below. | ||
ssh-keygen -t ed25519 -C [email protected] | ||
More information about the Github Action used to push changes from one | ||
repository to another can be found following the link below. | ||
https://github.com/cpina/github-action-push-to-another-repository | ||
` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/xh3b4sd/workflow | ||
|
||
go 1.21 | ||
go 1.22 | ||
|
||
require ( | ||
github.com/google/go-cmp v0.6.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package version | ||
|
||
const ( | ||
Golang = "1.21.1" | ||
Golang = "1.22.5" | ||
) |