ci: rever to just gofmt for now (very WIP)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
536ce28192
commit
8eaa4aa480
|
@ -3,7 +3,7 @@ kind: pipeline
|
|||
name: cairde
|
||||
steps:
|
||||
- name: make check
|
||||
image: golangci/golangci-lint:v1.55.2
|
||||
image: golang:1.21
|
||||
commands:
|
||||
- make check
|
||||
|
||||
|
|
6
makefile
6
makefile
|
@ -7,8 +7,10 @@ format:
|
|||
|
||||
check:
|
||||
@test -z $$(gofmt -l .) || \
|
||||
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1) && \
|
||||
golangci-lint run ./...
|
||||
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
|
||||
|
||||
ci:
|
||||
@golangci-lint run ./...
|
||||
|
||||
clean:
|
||||
@find -type f -name "*.log" -exec rm '{}' \;
|
||||
|
|
Loading…
Reference in New Issue