From 54fb04f4d3c8abaa184e8841a7eea5ff4e90d93b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Senart?= Date: Mon, 17 Jul 2023 09:41:09 +0200 Subject: [PATCH] ci: add formatting check to qa job --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f49491da..d22bb3aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,13 @@ jobs: with: go-version: '1.20' + - name: Format Check + run: | + set -euo pipefail + go get golang.org/x/tools/cmd/goimports + goimports -w . + git diff --exit-code + - name: Vet run: go vet ./...