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: |