1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-10-03 20:21:01 +00:00

gha: add ci job to check go mod and vendor

In order to avoid forgetting to clean this up.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai 2025-09-20 02:58:10 +10:00
parent 1c57a3cdf1
commit 6f0b3ffb3b
No known key found for this signature in database
GPG key ID: 2897FAD2B7E9446F

View file

@ -21,6 +21,15 @@ 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