fix(rust, python): adjust for null values in str.replace fast path #1028
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: Lint py-polars crate | |
on: | |
pull_request: | |
paths: | |
- polars/** | |
- py-polars/src/** | |
- py-polars/Cargo.toml | |
- .github/workflows/lint-py-polars.yml | |
push: | |
branches: | |
- main | |
paths: | |
- polars/** | |
- py-polars/src/** | |
- py-polars/Cargo.toml | |
- .github/workflows/lint-py-polars.yml | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-py-polars: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: py-polars | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Rust | |
run: rustup component add rustfmt clippy | |
- name: Cache Rust | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: py-polars | |
save-if: ${{ github.ref_name == 'main' }} | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check | |
- name: Run clippy | |
run: cargo clippy -- -D warnings |