-
-
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.
- pretty output and color support - pipe output to file
- Loading branch information
Showing
14 changed files
with
747 additions
and
261 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
[tool.bumpversion] | ||
current_version = "0.1.4" | ||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" | ||
serialize = ["{major}.{minor}.{patch}"] | ||
search = "{current_version}" | ||
replace = "{new_version}" | ||
regex = false | ||
ignore_missing_version = false | ||
ignore_missing_files = false | ||
tag = true | ||
sign_tags = false | ||
tag_name = "v{new_version}" | ||
tag_message = "Bump version: {current_version} → {new_version}" | ||
allow_dirty = false | ||
commit = true | ||
message = "Bump version: {current_version} → {new_version}" | ||
commit_args = "--no-verify" | ||
setup_hooks = [] | ||
pre_commit_hooks = [] | ||
post_commit_hooks = [] | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "README.md" | ||
search = "version-{current_version}-orange.svg" | ||
replace = "version-{new_version}-orange.svg" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "release/release.go" | ||
search = const Version string = "{current_version}" | ||
replace = const Version string = "{new_version}" |
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,22 +1,31 @@ | ||
name: Golang CI Lint | ||
name: golangci-lint | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.go' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '**.go' | ||
|
||
concurrency: | ||
group: golangci-lint | ||
group: basichttpdebugger-golangci-lint | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
golangci: | ||
name: golangci linter | ||
runs-on: ubuntu-latest | ||
env: | ||
GOPRIVATE: github.com/vbyazilim | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "go.mod" | ||
|
||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
version: latest | ||
version: v1.62 | ||
args: --timeout=5m |
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
Oops, something went wrong.