feat(datapackage): remove serde completely from runtime dependencies #267
This file contains hidden or 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: Code-check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "main" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| # Disable incremental compilation for faster from-scratch builds | |
| CARGO_INCREMENTAL: 0 | |
| jobs: | |
| check_rust: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout directory | |
| uses: actions/checkout@v5 | |
| - name: Cache dependencies | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Cargo check | |
| run: cargo check --locked | |
| - name: Cargo test | |
| run: cargo test --locked | |
| - name: Validate wacz file with unzip | |
| run: unzip -t tests/output.wacz | |
| - name: Setup py-wacz | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| cache: 'pip' | |
| - run: pip install -r tests/requirements.txt | |
| - name: Validate wacz file with py-wacz | |
| run: wacz validate -f tests/output.wacz |