Replace common.ToPtr with Go 1.26 builtin new and add go fix to CI

This commit is contained in:
2026-02-13 18:56:10 +04:00
parent 7cb49195f8
commit 3be8ff218c
6 changed files with 28 additions and 21 deletions

View File

@@ -11,16 +11,22 @@ tasks:
desc: Run fmt, tidy, and lint.
cmds:
- task: fmt
- task: fix
- task: tidy
- task: lint
fmt:
desc: Run linters
desc: Run format
deps:
- install-golangci-lint
cmds:
- "{{.GOLANGCI}} fmt"
fix:
desc: Run go fix
cmds:
- go fix ./...
tidy:
desc: Run go mod tidy.
cmds: