diff options
| author | Max Resnick <max@ofmax.li> | 2025-05-25 22:18:03 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-05-25 22:18:03 -0700 |
| commit | 5054cd34c92c6c5d5ff4f8b8a6488c4ab1395f4b (patch) | |
| tree | 821b37561856c48a059d23609c0b3d052f4dfa43 | |
| parent | 2ae5f88427767d9a48fc64e540bf35988ce69b46 (diff) | |
| download | go-bumpver-5054cd34c92c6c5d5ff4f8b8a6488c4ab1395f4b.tar.gz | |
chore: linting, add tmp dir for tests
| -rwxr-xr-x | .ghglog/config.yml | 28 | ||||
| -rw-r--r-- | justfile | 4 |
2 files changed, 17 insertions, 15 deletions
diff --git a/.ghglog/config.yml b/.ghglog/config.yml index 5b772c3..6d4e82f 100755 --- a/.ghglog/config.yml +++ b/.ghglog/config.yml @@ -5,23 +5,23 @@ info: repository_url: https://git.ofmax.li/go-bumpver options: commits: - # filters: - # Type: - # - feat - # - fix - # - perf - # - refactor + # filters: + # Type: + # - feat + # - fix + # - perf + # - refactor commit_groups: - # title_maps: - # feat: Features - # fix: Bug Fixes - # perf: Performance Improvements - # refactor: Code Refactoring + # title_maps: + # feat: Features + # fix: Bug Fixes + # perf: Performance Improvements + # refactor: Code Refactoring header: pattern: "^(\\w*)\\:\\s(.*)$" pattern_maps: - - Type - - Subject + - Type + - Subject notes: keywords: - - BREAKING CHANGE
\ No newline at end of file + - BREAKING CHANGE @@ -7,8 +7,10 @@ install: install bumpver $HOME/.local/bin test: + mkdir -p testdata + yamlfmt -lint . golangci-lint run - go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./... + TMPDIR=$PWD/testdata go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./... go tool cover -func={{ TEMPDIR }}/testcover.out release part: build |