diff --git a/.drone.yml b/.drone.yml index aba3f2d..24501b8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/makefile b/makefile index 8743cd3..9218a0d 100644 --- a/makefile +++ b/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 '{}' \;