From 19341b3cf6c1cdbd1d047073962461bd372990d1 Mon Sep 17 00:00:00 2001 From: Guilhem Lettron Date: Thu, 23 Jun 2022 16:33:52 +0200 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8860de6..1a7fa97 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 2 - name: Set up Go uses: actions/setup-go@v3 @@ -19,7 +21,11 @@ jobs: go-version: 1.18 - name: Build - run: go build -v ./... + run: make build - name: Test - run: go test -v ./... + run: make test + + # Test if anything changed (maining a generator or manifest changed + - name: git diff + run: git diff --no-ext-diff --quiet --exit-code