static-checks: Check the vendored code

Let's ensure we always have the go vendored code up-to-date and that the
rust vendor does actually work.

Fixes: #2159

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2021-07-13 14:23:01 +02:00
parent ac8f972e4b
commit a20074d45c

View File

@ -59,6 +59,10 @@ jobs:
PATH=$PATH:"$HOME/.cargo/bin"
rustup target add x86_64-unknown-linux-musl
rustup component add rustfmt clippy
# Check whether the vendored code is up-to-date & working as the first thing
- name: Check vendored code
run: |
cd ${GOPATH}/src/github.com/${{ github.repository }} && make vendor
# Must build before static checks as we depend on some generated code in runtime and agent
- name: Build
run: |