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