rejson 0.6.1

A command line utility for managing secrets
Documentation
name: CI

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

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6

      - name: Install Nix
        uses: DeterminateSystems/nix-installer-action@v21

      - name: Setup Nix cache
        uses: DeterminateSystems/magic-nix-cache-action@v13

      - name: Cache Rust dependencies
        uses: Swatinem/rust-cache@v2

      - name: Toolchain info
        run: |
          nix develop --command cargo --version --verbose
          nix develop --command rustc --version
          nix develop --command clippy-driver --version
          nix develop --command rustfmt --version

      - name: Install coverage tool
        run: nix develop --command cargo install cargo-llvm-cov

      - name: Run CI pipeline
        run: nix develop --command task ci

      - name: Generate coverage report
        run: nix develop --command cargo llvm-cov --lcov --output-path coverage.lcov

      - name: Upload coverage reports to Codecov
        uses: codecov/codecov-action@v3
        with:
          files: ./coverage.lcov
          token: ${{ secrets.CODECOV_TOKEN }}