seg 0.1.0

seg is a cli tool for analyzing binaries and generating structured reports to help ai agents and security researchers understand and exploit them.
name: Run tests

on:
  push:
    branches: [ main ]
    paths:
      - 'src/**'
      - 'Cargo.*'
      - 'flake.*'
  pull_request:
    branches: [ main ]
    paths:
      - 'src/**'
      - 'Cargo.*'
      - 'flake.*'

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v3

    - name: Install Nix package manager
      uses: DeterminateSystems/nix-installer-action@main

    - name: Setup Nix cache
      uses: DeterminateSystems/magic-nix-cache-action@main

    - name: Run tests
      run: nix develop --command cargo build --verbose