timecalc 0.4.15

Calculate the total duration of a given set of intervals and durations
Documentation
---
name: Continious integration

on:
  pull_request:
    paths-ignore:
      - "**/*.md"
  push:
    branches:
      - "master"
      - "renovate/**"
    paths-ignore:
      - "**/*.md"
  merge_group:
    types:
      - checks_requested

env:
  CARGO_TERM_COLOR: always
  RUSTFLAGS: -D warnings
  RUSTDOCFLAGS: -D warnings

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  cancel-in-progress: true

jobs:
  ci:
    name: Test
    runs-on: ${{ matrix.job.os }}
    strategy:
      matrix:
        job:
          - os: macos-latest
          - os: ubuntu-latest
          - os: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v6
      - name: Install Just
        uses: extractions/setup-just@v3
      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable
          components: clippy, rustfmt
      - name: Get build cache
        uses: Swatinem/rust-cache@v2
      - name: Build
        run: just build
      - name: Test
        run: just test
      - name: Lint
        run: just lint
      - name: Check formatting
        run: just format
      - name: Build Docs
        run: just docs