Skip to content

fix: adapt onnx module to ort 2.0.0-rc.12 final API #88

fix: adapt onnx module to ort 2.0.0-rc.12 final API

fix: adapt onnx module to ort 2.0.0-rc.12 final API #88

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
agent_message:
description: 'Message from orchestrating agent'
required: false
type: string
run_tests:
description: 'Run full test suite'
required: false
default: true
type: boolean
defaults:
run:
shell: bash
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache Rust builds
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build (all targets)
run: cargo build --all-targets
- name: Run tests
run: cargo test
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Check formatting
run: cargo fmt --check