disable client telemetry by default #553
Workflow file for this run
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
name: xet-core CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- name: Format | |
run: | | |
cargo fmt --manifest-path ./Cargo.toml --all -- --check | |
cargo fmt --manifest-path ./hf_xet/Cargo.toml --all -- --check | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust 1.79 | |
uses: dtolnay/[email protected] | |
with: | |
components: clippy | |
- name: Lint | |
run: | | |
cargo clippy -r --verbose -- -D warnings # elevates warnings to errors | |
- name: Build and Test | |
run: | | |
cargo test --verbose --no-fail-fast --features "strict" |