Skip to content

Commit

Permalink
static-checks: Check the vendored code
Browse files Browse the repository at this point in the history
Let's ensure we always have the go vendored code up-to-date and that the
rust vendor does actually work.

Fixes: kata-containers#2159

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
  • Loading branch information
fidencio committed Jul 13, 2021
1 parent 1d95eb7 commit cce2496
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
make check-vendor
# Must build before static checks as we depend on some generated code in runtime and agent
- name: Build
run: |
Expand Down

0 comments on commit cce2496

Please sign in to comment.