mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 22:43:05 +00:00
static-checks: Call the static-checks make target
Instead of calling the ci/static-checks.sh script directly, it was changed the workflow to call `make static-checks`. And because the `static-checks` target depends on build, the build step in the workflow is not longer needed. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
afd9785051
commit
dcd2986724
6
.github/workflows/static-checks.yaml
vendored
6
.github/workflows/static-checks.yaml
vendored
@ -63,13 +63,9 @@ jobs:
|
||||
- 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: |
|
||||
cd ${GOPATH}/src/github.com/${{ github.repository }} && make
|
||||
- name: Static Checks
|
||||
run: |
|
||||
cd ${GOPATH}/src/github.com/${{ github.repository }} && ./ci/static-checks.sh
|
||||
cd ${GOPATH}/src/github.com/${{ github.repository }} && make static-checks
|
||||
- name: Run Compiler Checks
|
||||
run: |
|
||||
cd ${GOPATH}/src/github.com/${{ github.repository }} && make check
|
||||
|
Loading…
Reference in New Issue
Block a user