chore: bump oar-ocr from 0.7.0 to 0.7.1 #293
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: | |
| workflow_call: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "**/Makefile.toml" | |
| - "release.toml" | |
| - "LICENSE*" | |
| - "**/*.md" | |
| - "**/*.nix" | |
| tags-ignore: | |
| - "**" | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| paths-ignore: | |
| - "**/Makefile.toml" | |
| - "release.toml" | |
| - "LICENSE*" | |
| - "**/*.md" | |
| - "**/*.nix" | |
| jobs: | |
| # Cheap sanity check that runs on every push to main and on PRs. | |
| # Avoids the heavy clippy matrix on each merge — that one is PR-only. | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: dsherret/rust-toolchain-file@v1 | |
| - name: Run cargo check | |
| uses: actions-rs/cargo@v1.0.1 | |
| with: | |
| command: check | |
| args: --workspace --all-targets | |
| # Full clippy on every supported host. PR-only so pushes to main don't | |
| # burn three runners per merge. | |
| clippy_check: | |
| name: Clippy | |
| if: github.event_name == 'pull_request' | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macos-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: dsherret/rust-toolchain-file@v1 | |
| - name: Run clippy | |
| uses: actions-rs/cargo@v1.0.1 | |
| with: | |
| command: clippy | |
| args: -- -D warnings | |
| # Format check. PR-only — once the merge landed `cargo fmt` was already | |
| # green; rerunning on main adds no signal. | |
| format: | |
| name: Format | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - uses: dsherret/rust-toolchain-file@v1 | |
| - name: Run cargo fmt | |
| uses: actions-rs/cargo@v1.0.1 | |
| with: | |
| command: fmt | |
| args: --all -- --check |