From a20074d45c8c1a9b42946e535bea1de5ac679d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 13 Jul 2021 14:23:01 +0200 Subject: [PATCH] static-checks: Check the vendored code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/static-checks.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/static-checks.yaml b/.github/workflows/static-checks.yaml index 159f2f295f..f0045ff82e 100644 --- a/.github/workflows/static-checks.yaml +++ b/.github/workflows/static-checks.yaml @@ -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: |