aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-05-25 22:18:03 -0700
committerMax Resnick <max@ofmax.li>2025-05-25 22:18:03 -0700
commit5054cd34c92c6c5d5ff4f8b8a6488c4ab1395f4b (patch)
tree821b37561856c48a059d23609c0b3d052f4dfa43 /justfile
parent2ae5f88427767d9a48fc64e540bf35988ce69b46 (diff)
downloadgo-bumpver-5054cd34c92c6c5d5ff4f8b8a6488c4ab1395f4b.tar.gz
chore: linting, add tmp dir for tests
Diffstat (limited to '')
-rw-r--r--justfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/justfile b/justfile
index 077e7b2..cebdd7a 100644
--- a/justfile
+++ b/justfile
@@ -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