fmtcnv 2.3.3

Cross-convert bson, csv, hjson, hocon, json, json5, jsonl, plist, ron, toml, toon, xml, yaml
Documentation
name: Coverage

on:
  push:
    branches:
      - 'master'

env:
  CARGO_TERM_COLOR: always

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - run: sudo apt update && sudo apt-get -qq install musl-tools
      - uses: actions/checkout@v6
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Cargo update
        run: cargo update
      - name: Get musl
        run: rustup target add x86_64-unknown-linux-musl
      - uses: actions-rs/cargo@v1
        with:
          command: check

  test:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - run: sudo apt update && sudo apt-get -qq install musl-tools
      - name: Checkout sources
        uses: actions/checkout@v6
      - name: Install stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Get musl
        run: rustup target add x86_64-unknown-linux-musl
      - name: Test coverage
        run: make coverage
      - name: Upload coverage results
        uses: stefanzweifel/git-auto-commit-action@v7
        with:
          branch: coverage
          create_branch: true
          commit_message: Update coverage
          push_options: '--force'