git-url-parse 0.6.0

A parser for urls used by git
Documentation
name: CI

on:
  merge_group:
    branches:
      - main
  pull_request:
    branches:
      - main
  workflow_dispatch:

env:
  CARGO_TERM_COLOR: always

jobs:
  ci:
    name: CI
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        cargo_checks:
          - name: Enforce default cargo fmt
            subcommand: fmt -- --check
          - name: Clippy
            subcommand: clippy
          - name: Test
            subcommand: test --verbose
          - name: Build
            subcommand: build --release --all-features --verbose
    steps:
      - uses: actions/checkout@v5
      - name: Stable with rustfmt and clippy
        uses: dtolnay/rust-toolchain@stable 
        with:
          components: rustfmt, clippy
      - uses: Swatinem/rust-cache@v2
      - name: cargo check - ${{ matrix.cargo_checks.name }}
        run: cargo ${{ matrix.cargo_checks.subcommand }}