Skip to content

V0.6.2 -V 0.8.0 (-#39) #341

V0.6.2 -V 0.8.0 (-#39)

V0.6.2 -V 0.8.0 (-#39) #341

Workflow file for this run

name: Rust (jacs crate)
on:
push:
branches: [ "main" ]
paths:
- 'jacs/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ "main" ]
paths:
- 'jacs/**'
- '.github/workflows/rust.yml'
workflow_dispatch: # Allows manual triggering
env:
CARGO_TERM_COLOR: always
jobs:
test-jacs: # Renamed job for clarity
name: Test jacs crate (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: '1.93'
- name: Install cargo-audit and run audit
if: runner.os == 'Linux'
working-directory: jacs
run: |
cargo install cargo-audit
cargo audit || true
- name: Run jacs tests
working-directory: jacs
run: cargo test --verbose --features cli