Skip to content

Commit f4eae47

Browse files
committed
feat: update dependencies
1 parent 61d6713 commit f4eae47

File tree

112 files changed

+992
-554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+992
-554
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: 🐛 Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: ["bug", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report this issue! Please fill out the information below to help us understand and resolve the problem.
10+
11+
- type: checkboxes
12+
id: prerequisites
13+
attributes:
14+
label: Prerequisites
15+
description: Please confirm the following before submitting
16+
options:
17+
- label: I have searched existing issues to ensure this bug hasn't been reported
18+
required: true
19+
- label: I have checked the documentation
20+
required: true
21+
- label: I am using the latest version
22+
required: false
23+
24+
- type: input
25+
id: version
26+
attributes:
27+
label: Version
28+
description: What version are you using?
29+
placeholder: e.g., 1.2.3
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: Bug Description
37+
description: A clear and concise description of what the bug is
38+
placeholder: What went wrong?
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: reproduction
44+
attributes:
45+
label: Steps to Reproduce
46+
description: Detailed steps to reproduce the behavior
47+
placeholder: |
48+
1. Import '...'
49+
2. Call function with '...'
50+
3. See error
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: expected
56+
attributes:
57+
label: Expected Behavior
58+
description: What did you expect to happen?
59+
placeholder: What should have happened instead?
60+
validations:
61+
required: true
62+
63+
- type: textarea
64+
id: actual
65+
attributes:
66+
label: Actual Behavior
67+
description: What actually happened?
68+
placeholder: Include error messages, screenshots, or logs
69+
validations:
70+
required: true
71+
72+
- type: textarea
73+
id: additional
74+
attributes:
75+
label: Additional Context
76+
description: Any other context, environment, code, screenshots, or information about the problem
77+
placeholder: Add any other relevant details here
78+
validations:
79+
required: false
80+
81+
- type: textarea
82+
id: solution
83+
attributes:
84+
label: Possible Solution
85+
description: If you have suggestions on how to fix this, please share
86+
placeholder: Optional - your ideas for fixing this issue
87+
validations:
88+
required: false

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: ✨ Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your interest in improving this project! Please describe your feature request in detail.
10+
11+
- type: checkboxes
12+
id: prerequisites
13+
attributes:
14+
label: Prerequisites
15+
description: Please confirm the following before submitting
16+
options:
17+
- label: I have searched existing issues to ensure this hasn't been requested
18+
required: true
19+
- label: I have checked the documentation to ensure this feature doesn't exist
20+
required: true
21+
22+
- type: textarea
23+
id: problem
24+
attributes:
25+
label: Problem Statement
26+
description: Is your feature request related to a problem? Please describe.
27+
placeholder: I'm frustrated when... / It would be helpful if...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: solution
33+
attributes:
34+
label: Proposed Solution
35+
description: Describe the solution you'd like
36+
placeholder: A clear and concise description of what you want to happen
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: alternatives
42+
attributes:
43+
label: Alternatives Considered
44+
description: Describe alternatives you've considered
45+
placeholder: What other approaches have you thought about?
46+
validations:
47+
required: false
48+
49+
- type: textarea
50+
id: additional
51+
attributes:
52+
label: Additional Context
53+
description: Add any other context, code, mockups, or screenshots
54+
placeholder: Links to similar features in other libraries, mockups, etc.
55+
validations:
56+
required: false
57+
58+
- type: dropdown
59+
id: priority
60+
attributes:
61+
label: Priority
62+
description: How important is this feature to you?
63+
options:
64+
- Low - Nice to have
65+
- Medium - Would significantly improve my workflow
66+
- High - Blocking my usage of this library
67+
validations:
68+
required: false
69+
70+
- type: checkboxes
71+
id: contribution
72+
attributes:
73+
label: Contribution
74+
description: Would you be willing to contribute this feature?
75+
options:
76+
- label: I'm willing to submit a PR to implement this feature
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: ❓ Question
2+
description: Ask a question about usage or clarification
3+
title: "[Question]: "
4+
labels: ["question"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your question! Please provide as much detail as possible so we can help you effectively.
10+
11+
- type: checkboxes
12+
id: prerequisites
13+
attributes:
14+
label: Prerequisites
15+
description: Please confirm the following before submitting
16+
options:
17+
- label: I have checked the documentation
18+
required: true
19+
- label: I have searched existing issues for similar questions
20+
required: true
21+
22+
- type: textarea
23+
id: question
24+
attributes:
25+
label: Your Question
26+
description: What would you like to know?
27+
placeholder: Please be as specific as possible
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: context
33+
attributes:
34+
label: Context
35+
description: What are you trying to accomplish?
36+
placeholder: Describe your use case or what you're building
37+
validations:
38+
required: false
39+
40+
- type: textarea
41+
id: attempted
42+
attributes:
43+
label: What I've Tried
44+
description: What have you already attempted?
45+
placeholder: Describe any solutions you've already explored
46+
validations:
47+
required: false
48+
49+
- type: textarea
50+
id: additional
51+
attributes:
52+
label: Additional Information
53+
description: Any other details or code that might be helpful
54+
validations:
55+
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
1+
### Description
2+
3+
<!-- Briefly describe what this PR does -->
4+
15
### Type of Change
2-
- [ ] New feature
3-
- [ ] Bug fix
4-
- [ ] Documentation update
5-
- [ ] Refactoring
6-
- [ ] Hotfix
7-
- [ ] Security patch
86

9-
### Description
10-
_[Provide a detailed explanation of the changes you have made. Include the reasons behind these changes and any relevant context. Link any related issues.]_
7+
<!-- Check the relevant option -->
8+
9+
- [ ] 🐛 Bug fix
10+
- [ ] ✨ New feature
11+
- [ ] 💥 Breaking change
12+
- [ ] 📝 Documentation
13+
- [ ] ♻️ Refactoring
14+
- [ ] ⚡ Performance
15+
- [ ] ✅ Tests
16+
- [ ] 🔧 Build/CI
17+
18+
### Related Issue
1119

12-
### Related Issues
13-
_[If this pull request addresses an issue, please link to it here (e.g., Fixes #123).]_
20+
<!-- Link related issues: Fixes #123, Closes #456 -->
21+
22+
## Changes
23+
24+
<!-- List key changes -->
25+
26+
-
1427

1528
### Checklist
1629
- [ ] My code adheres to the coding and style guidelines of the project.
1730
- [ ] I have performed a self-review of my own code.
18-
- [ ] I have commented my code, particularly in hard-to-understand areas.
31+
- [ ] I have commented on my code, particularly in hard-to-understand areas.
1932
- [ ] I have made corresponding changes to the documentation.
33+
34+
#### Notes
35+
36+
<!-- Optional: Add additional context -->

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ jobs:
1313
release:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
19+
- uses: jdx/mise-action@v3
1920

20-
- uses: actions/setup-go@v5
21+
- uses: actions/setup-go@v6
2122
with:
2223
check-latest: true
2324
go-version-file: go.mod
@@ -35,7 +36,7 @@ jobs:
3536
- name: Login to docker.io
3637
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
3738

38-
- uses: goreleaser/goreleaser-action@v6
39+
- uses: goreleaser/goreleaser-action@v7
3940
with:
4041
version: '~> v2'
4142
args: release --clean

.github/workflows/test.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,31 @@ jobs:
1919
test:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323

24-
- uses: actions/setup-go@v5
24+
- uses: jdx/mise-action@v3
25+
26+
- uses: actions/setup-go@v6
2527
with:
2628
check-latest: true
27-
go-version-file: 'go.mod'
29+
go-version-file: go.mod
2830

29-
- uses: gotesttools/gotestfmt-action@v2
31+
- name: Setup golangci-lint cache
32+
uses: actions/cache@v5
3033
with:
31-
token: ${{ secrets.GITHUB_TOKEN }}
34+
path: ~/.cache/golangci-lint
35+
key: golangci-lint-${{ runner.os }}-${{ hashFiles('**/go.mod') }}
36+
restore-keys: |
37+
golangci-lint-${{ runner.os }}--
3238
33-
- uses: golangci/golangci-lint-action@v8
34-
with:
35-
version: latest
39+
- name: Run tidy
40+
run: make tidy && git diff --exit-code
41+
42+
- name: Run generate
43+
run: make generate && git diff --exit-code
44+
45+
- name: Run lint
46+
run: make lint.branch
3647

3748
- name: Run tests
3849
run: make test
39-
40-
- uses: coverallsapp/github-action@v2
41-
with:
42-
file: coverage.out

0 commit comments

Comments
 (0)