mirror of
https://github.com/aykhans/sarin.git
synced 2026-11-30 20:46:17 +00:00
Replace common.ToPtr with Go 1.26 builtin new and add go fix to CI
This commit is contained in:
1 parent
7cb49195f8
commit
3be8ff218c
6 files changed
+28
-21
No files matched your search
+7
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user