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:
parent
1c57a3cdf1
commit
6f0b3ffb3b
1 changed files with 10 additions and 1 deletions
11
.github/workflows/go.yml
vendored
11
.github/workflows/go.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue