diff --git a/.github/workflows/golang-test-darwin.yml b/.github/workflows/golang-test-darwin.yml index 202e462cd0f..f8afd3d6eab 100644 --- a/.github/workflows/golang-test-darwin.yml +++ b/.github/workflows/golang-test-darwin.yml @@ -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 ./... diff --git a/.github/workflows/golang-test-linux.yml b/.github/workflows/golang-test-linux.yml index 2e9941349a3..f6fab80c527 100644 --- a/.github/workflows/golang-test-linux.yml +++ b/.github/workflows/golang-test-linux.yml @@ -41,6 +41,9 @@ jobs: - name: Install modules run: go mod tidy + - name: check git status + run: git --no-pager diff --exit-code + - name: Test run: CGO_ENABLED=1 GOARCH=${{ matrix.arch }} NETBIRD_STORE_ENGINE=${{ matrix.store }} go test -exec 'sudo --preserve-env=CI,NETBIRD_STORE_ENGINE' -timeout 5m -p 1 ./... @@ -69,6 +72,9 @@ jobs: - name: Install modules run: go mod tidy + - name: check git status + run: git --no-pager diff --exit-code + - name: Generate Iface Test bin run: CGO_ENABLED=0 go test -c -o iface-testing.bin ./iface/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5849aff0462..9c96febca9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -190,6 +190,9 @@ jobs: - name: Install modules run: go mod tidy + - + name: check git status + run: git --no-pager diff --exit-code - name: Run GoReleaser id: goreleaser diff --git a/.github/workflows/test-infrastructure-files.yml b/.github/workflows/test-infrastructure-files.yml index 1ae81f75924..aaef147e50a 100644 --- a/.github/workflows/test-infrastructure-files.yml +++ b/.github/workflows/test-infrastructure-files.yml @@ -127,6 +127,9 @@ jobs: - name: Install modules run: go mod tidy + - name: check git status + run: git --no-pager diff --exit-code + - name: Build management binary working-directory: management run: CGO_ENABLED=1 go build -o netbird-mgmt main.go