Files
Sylvain RabotandGitHub 7851aa3334 chore: upgrade to go 1.25 (#530)
* chore: upgrade to go 1.25

Signed-off-by: Sylvain Rabot <[email protected]>

* chore: update golangci-lint config

Signed-off-by: Sylvain Rabot <[email protected]>

* chore: fix linters warnings

Signed-off-by: Sylvain Rabot <[email protected]>

* chore: add fmt target to just that matches golangci-lint formatters

Signed-off-by: Sylvain Rabot <[email protected]>

* chore: use golangci-lint fmt to format code

Signed-off-by: Sylvain Rabot <[email protected]>

* chore: fix errcheck errors in tests

Signed-off-by: Sylvain Rabot <[email protected]>

* chore: fix linter errors in tests

Signed-off-by: Sylvain Rabot <[email protected]>

---------

Signed-off-by: Sylvain Rabot <[email protected]>
2025-11-12 13:13:36 +00:00

25 lines
320 B
Makefile

set dotenv-load
default:
@just --list
pre-commit: tidy generate lint
pc: pre-commit
lint:
@golangci-lint run --fix --build-tags it --timeout 5m
tidy:
@go mod tidy
generate:
@go generate ./...
tests:
@go test -race -covermode=atomic \
-coverprofile coverage.txt \
./...
fmt:
@golangci-lint fmt