From d997335f306613a75a0dc2afbf760fc01aaa6cce Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Sat, 20 Sep 2025 02:58:10 +1000 Subject: [PATCH] gha: add ci job to check go mod and vendor In order to avoid forgetting to clean this up. Signed-off-by: Aleksa Sarai --- .github/workflows/go.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 567902e..f5aa600 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,12 +21,21 @@ jobs: with: go-version: ${{ matrix.go }} + - name: Go Modules + run: | + go mod tidy + git diff --exit-code + + go mod vendor + git add -N vendor/ + git diff --exit-code + - name: Build run: make build - name: Validation run: make validation - + - name: Build.Arches run: make build.arches