-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
feat: Adjust the template to working with protolint
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Development | ||
|
||
### Release | ||
|
||
#### [haya14busa/action-bumpr](https://github.com/haya14busa/action-bumpr) | ||
You can bump version on merging Pull Requests with specific labels (bump:major,bump:minor,bump:patch). | ||
Pushing tag manually by yourself also work. | ||
|
||
#### [haya14busa/action-update-semver](https://github.com/haya14busa/action-update-semver) | ||
|
||
This action updates major/minor release tags on a tag push. e.g. Update v1 and v1.2 tag when released v1.2.3. | ||
ref: https://help.github.com/en/articles/about-actions#versioning-your-action | ||
|
||
### Lint - reviewdog integration | ||
|
||
This reviewdog action template itself is integrated with reviewdog to run lints | ||
which is useful for Docker container based actions. | ||
|
||
![reviewdog integration](https://user-images.githubusercontent.com/3797062/72735107-7fbb9600-3bde-11ea-8087-12af76e7ee6f.png) | ||
|
||
Supported linters: | ||
|
||
- [reviewdog/action-shellcheck](https://github.com/reviewdog/action-shellcheck) | ||
- [reviewdog/action-hadolint](https://github.com/reviewdog/action-hadolint) | ||
- [reviewdog/action-misspell](https://github.com/reviewdog/action-misspell) | ||
|
||
### Dependencies Update Automation | ||
This repository uses [reviewdog/action-depup](https://github.com/reviewdog/action-depup) to update | ||
reviewdog version. | ||
|
||
[![reviewdog depup demo](https://user-images.githubusercontent.com/3797062/73154254-170e7500-411a-11ea-8211-912e9de7c936.png)](https://github.com/yoheimuta/action-protolint/pull/6) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax = "proto3"; | ||
import public "other.proto"; | ||
option java_package = "com.example.foo"; | ||
enum EnumAllowingAlias { | ||
option allow_alias = true; | ||
ENUM_ALLOWING_ALIAS_UNKNOWN = 0; | ||
ENUM_ALLOWING_ALIAS_STARTED = 1; | ||
ENUM_ALLOWING_ALIAS_RUNNING = 2 [(custom_option) = "hello world"]; | ||
} | ||
message Outer { | ||
option (my_option).a = true; | ||
message Inner { // Level 2 | ||
int64 ival = 1; | ||
} | ||
repeated Inner inner_messages = 2; | ||
EnumAllowingAlias enum_field =3; | ||
map<int32, string> my_map = 4; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax = "proto3"; | ||
import public "other.proto"; | ||
option java_package = "com.example.foo"; | ||
enum EnumAllowingAlias { | ||
option allow_alias = true; | ||
ENUM_ALLOWING_ALIAS_UNKNOWN = 0; | ||
STARTED = 1; | ||
RUNNING = 2 [(custom_option) = "hello world"]; | ||
} | ||
message Outer { | ||
option (my_option).a = true; | ||
message Inner { // Level 2 | ||
int64 ival = 1; | ||
} | ||
repeated Inner inner_message = 2; | ||
EnumAllowingAlias enum_field =3; | ||
map<int32, string> my_map = 4; | ||
} |