Check git status after go mod tidy on CI (#1614)

This commit is contained in:
Yury Gargay
2024-02-23 12:00:43 +01:00
committed by GitHub
parent 9357a587e9
commit 9028c3c1f7
4 changed files with 15 additions and 0 deletions

View File

@@ -35,5 +35,8 @@ jobs:
- name: Install modules
run: go mod tidy
- name: check git status
run: git --no-pager diff --exit-code
- name: Test
run: NETBIRD_STORE_ENGINE=${{ matrix.store }} go test -exec 'sudo --preserve-env=CI,NETBIRD_STORE_ENGINE' -timeout 5m -p 1 ./...