Add configurable date interpretation for formatted numeric cells #206
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| rust: | |
| name: Rust | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt, llvm-tools-preview | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Build | |
| run: cargo build --workspace && cargo build -p sheetkit --features cli | |
| - name: Clippy | |
| run: cargo clippy --workspace -- -D warnings && cargo clippy -p sheetkit --features cli -- -D warnings | |
| - name: Format check | |
| run: cargo fmt --check | |
| - uses: taiki-e/install-action@cargo-llvm-cov | |
| - name: Test with coverage | |
| run: cargo llvm-cov --workspace --lcov --output-path lcov.info | |
| - name: Test CLI | |
| run: cargo test -p sheetkit --features cli | |
| - name: Upload coverage artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: rust-coverage | |
| path: lcov.info | |
| retention-days: 7 | |
| node: | |
| name: Node.js | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: node-rust | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Biome check | |
| run: pnpm check | |
| - name: Build (napi + typecheck + tsdown) | |
| run: pnpm --filter @sheetkit/node build | |
| - name: Test | |
| run: pnpm test |