nu_plugin_connectorx 0.3.0

Load data from DBs in `nushell` using ConnectorX
name: CI

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  lint-and-test:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-22.04, macos-latest]
        # os: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - uses: actions/checkout@v5
      - uses: prefix-dev/setup-pixi@v0.9.3
        with:
          cache: true
          cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
      - uses: Swatinem/rust-cache@v2
        with:
          # Only save cache on main to avoid thrashing
          save-if: ${{ github.ref == 'refs/heads/main' }}
      - run: pixi run integration-test
        if: success() || failure()
      - run: pixi run unit-test
        if: success() || failure()
      - run: pixi run ci-clippy
        if: success() || failure() 
      - run: pixi run ci-fmt