onefetch 2.27.1

Command-line Git information tool
Documentation
name: CI
on:
  push:
    branches: ["*"]
    paths-ignore:
      - "docs/**"
      - "**.md"
      - "docs/web/**"
  pull_request:
    branches: [main]
    paths-ignore:
      - "docs/**"
      - "**.md"
      - "docs/web/**"
env:
  CARGO_TERM_COLOR: always

jobs:
  CI:
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
    runs-on: ${{ matrix.os }}

    steps:
      - name: Checkout
        uses: actions/checkout@v6

      - name: Setup Rust
        uses: actions-rust-lang/setup-rust-toolchain@v1

      - name: Build
        run: cargo build --features=fail-on-deprecated

      - name: Run tests
        run: cargo test