From d3143832e79855a2f1c04db9f68ed348becf4326 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 19 Jun 2024 19:18:44 -0700 Subject: [PATCH] check Signed-off-by: Jess Frazelle --- .github/workflows/cargo-build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index 88152c0f5e..4548a18557 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -7,15 +7,15 @@ on: - '**/Cargo.lock' - '**/rust-toolchain.toml' - '**.rs' - - .github/workflows/cargo-build.yml + - .github/workflows/cargo-check.yml pull_request: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -name: cargo build +name: cargo check jobs: - cargobuild: - name: cargo build + cargocheck: + name: cargo check runs-on: ubuntu-latest strategy: matrix: @@ -31,10 +31,10 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2.6.1 - - name: Run build + - name: Run check run: | cd "${{ matrix.dir }}" # We specifically want to test the disable-println feature # Since it is not enabled by default, we need to specify it # This is used in kcl-lsp - cargo build --all --features disable-println --features pyo3 + cargo check --all --features disable-println --features pyo3