nzb-postproc 0.2.7

Post-processing pipeline: PAR2 verify/repair, archive extraction
Documentation
name: CI

on:
  push:
    branches: [main]
  pull_request:
  workflow_dispatch:

permissions:
  contents: read

jobs:
  rust:
    # Dependabot metadata PRs do not consume the self-hosted validation runner.
    if: github.event_name != 'pull_request' || github.event.pull_request.user.type != 'Bot'
    runs-on: [self-hosted, node-b, linux, x64]
    steps:
      - uses: actions/checkout@v7
      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt,clippy
      - run: cargo fmt --all -- --check
      - run: cargo check --workspace --locked
      - run: cargo test --workspace --locked
      - run: cargo clippy --workspace --all-targets --locked -- -D warnings