ci: rever to just gofmt for now (very WIP)
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2023-12-29 10:18:43 +01:00
parent 536ce28192
commit 8eaa4aa480
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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 '{}' \;