Skip to content

Update Rust CLI to model v2 #71

Update Rust CLI to model v2

Update Rust CLI to model v2 #71

Workflow file for this run

name: Rust - test
on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request:
paths:
- '.github/workflows/**'
- 'python/magika/config/**'
- 'python/magika/models/**'
- 'rust/**'
- 'tests_data/**'
permissions:
contents: read
jobs:
unit-testing:
runs-on: "ubuntu-latest"
strategy:
matrix:
toolchain: ["stable", "nightly"]
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4
- run: rustup default ${{ matrix.toolchain }}
- run: rustup component add rustfmt clippy
- run: rustup target add x86_64-apple-darwin x86_64-pc-windows-msvc
- run: ./test.sh
working-directory: rust
- run: ./sync.sh --check
working-directory: rust