diff --git a/.github/workflows/static-checks.yaml b/.github/workflows/static-checks.yaml index 3938691741ae..b2de664acd85 100644 --- a/.github/workflows/static-checks.yaml +++ b/.github/workflows/static-checks.yaml @@ -34,7 +34,7 @@ jobs: echo "Check passed" fi - check-vendor: + build-checks: runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -49,6 +49,9 @@ jobs: - log-parser-rs - runk - trace-forwarder + command: + - "make vendor" + - "make check" include: - component: agent component-path: src/agent @@ -88,10 +91,10 @@ jobs: run: | ./tests/install_rust.sh echo "${HOME}/.cargo/bin" >> $GITHUB_PATH - - name: Check ${{ matrix.component }} vendored code + - name: Running `${{ matrix.command }}` for ${{ matrix.component }} run: | cd ${{ matrix.component-path }} - make vendor + ${{ matrix.command }} env: RUST_BACKTRACE: "1" @@ -105,7 +108,6 @@ jobs: matrix: cmd: - "make static-checks" - - "make check" - "make test" - "sudo -E PATH=\"$PATH\" make test" env: