-
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
4 changed files
with
114 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: 🐛Bug Report | ||
description: File a bug report here | ||
title: "[BUG]: " | ||
labels: ["bug"] | ||
assignees: ["kamiertop"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report 🤗 | ||
Make sure there aren't any open/closed issues for this topic 😃 | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Description of the bug | ||
description: Give us a brief description of what happened and what should have happened | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. Go to '...' | ||
2. Click on '...' | ||
3. Scroll down to '...' | ||
4. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-information | ||
attributes: | ||
label: Additional Information | ||
description: | | ||
Provide any additional information such as logs, screenshots, likes, scenarios in which the bug occurs so that it facilitates resolving the issue. |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: ✨Feature Request | ||
description: Request a new feature or enhancement | ||
labels: ["enhancement"] | ||
assignees: ["kamiertop"] | ||
title: "[FEAT]: " | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please make sure this feature request hasn't been already submitted by someone by looking through other open/closed issues | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Give me a brief description of the feature or enhancement you would like | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: additional-information | ||
attributes: | ||
label: Additional Information | ||
description: Give me some additional information on the feature request like proposed solutions, links, screenshots, etc. | ||
validations: | ||
required: false |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- | ||
感谢你的拉取请求 🤗 | ||
请确保拉取请求被限定在一个类中(文档或功能之类的),而且让它尽可能地小。你可以开多个 pr(Pull Request, 拉取请求) 而不是单开一个很大的。 | ||
--> | ||
|
||
<!-- 如果这个拉取请求关闭了议题,请在下面提及 --> | ||
Closes # <!-- 对应议题的序号 --> | ||
|
||
## 📑 描述 | ||
<!-- 为 pr 添加一个简短的描述--> | ||
|
||
## ✅ 检查 | ||
<!-- 确保你的 pr 通过了 CI(Continuous Integration, 持续集成) 检查,并且根据需要选择以下选项 - --> | ||
- [ ] 我的拉取请求符合本项目的代码风格 | ||
- [ ] 我的代码需要修改文档 | ||
- [ ] 我已按要求更新了文件 | ||
- [ ] 所有测试均已通过 | ||
|
||
## 补充信息 | ||
<!-- 任何补充信息,像破坏性更新(Breaking Change)、依赖添加(Dependency Added)、截图(Screenshot)和新旧行为的对比等等 --> |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: build and release | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: 'tag/version' | ||
required: true | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
run-name: 'version: ${{inputs.tag}}' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: set up go env | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22.0' | ||
check-latest: false | ||
cache-dependency-path: go.sum | ||
|
||
- name: build | ||
run: CGO_ENABLED=0 go build -o hertz-wrap main.go |