chore: bump up to 0.2.0 #12
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: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install stable Rust | |
| run: rustup toolchain install stable --profile minimal | |
| - name: Test | |
| run: cargo +stable test --workspace --locked --features ffi | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install stable Rust | |
| run: rustup toolchain install stable --profile minimal | |
| - name: Install Rust components | |
| run: rustup component add --toolchain stable rustfmt clippy | |
| - name: Check formatting | |
| run: cargo +stable fmt --all -- --check | |
| - name: Run Clippy | |
| run: cargo +stable clippy --workspace --all-targets --features ffi --locked -- -D warnings |