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

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
  • Loading branch information
fidencio committed Jul 14, 2021
1 parent ac8f972 commit a20074d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/static-checks.yaml
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: |
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: |
Expand Down

0 comments on commit a20074d

Please sign in to comment.