Update go.yml

This commit is contained in:
Guilhem Lettron 2022-06-23 16:33:52 +02:00 committed by GitHub
parent dce9cee2bd
commit 19341b3cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
@ -19,7 +21,11 @@ jobs:
go-version: 1.18 go-version: 1.18
- name: Build - name: Build
run: go build -v ./... run: make build
- name: Test - 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