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
|
name: cairde
|
||||||
steps:
|
steps:
|
||||||
- name: make check
|
- name: make check
|
||||||
image: golangci/golangci-lint:v1.55.2
|
image: golang:1.21
|
||||||
commands:
|
commands:
|
||||||
- make check
|
- make check
|
||||||
|
|
||||||
|
|
6
makefile
6
makefile
|
@ -7,8 +7,10 @@ format:
|
||||||
|
|
||||||
check:
|
check:
|
||||||
@test -z $$(gofmt -l .) || \
|
@test -z $$(gofmt -l .) || \
|
||||||
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1) && \
|
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
|
||||||
golangci-lint run ./...
|
|
||||||
|
ci:
|
||||||
|
@golangci-lint run ./...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@find -type f -name "*.log" -exec rm '{}' \;
|
@find -type f -name "*.log" -exec rm '{}' \;
|
||||||
|
|
Loading…
Reference in New Issue