From 492b09d2e501b0e36f7d3a47fc97e41ec021615e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20Midstj=C3=A4rna?= Date: Sat, 16 Apr 2022 19:40:12 +0200 Subject: [PATCH] Added gofmt check in appveyor --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 4fc95ac..998b042 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,6 +37,9 @@ build_script: # Common - go test -v -cover github.com/midstar/mediaweb -coverprofile=coverage.out + # Check that gofmt has been executed on all go files + - sh: 'test -z $(gofmt -l *.go)' + # Publish result on coveralls.io (pick the Linux result since we have ffmpeg there) - sh: '$GOPATH/bin/goveralls -coverprofile=coverage.out -service=appveyor-ci -repotoken=$COVERALLS_TOKEN'