-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jess Frazelle <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
|
||
- 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 |