serde_json_diff 0.2.0

Create machine-readable JSON diffs
Documentation
name: Rust

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

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Cache
      uses: actions/cache@v3.2.6
      with:
        # A list of files, directories, and wildcard patterns to cache and restore
        path: |
          ~/.cargo
          target
        # An explicit key for restoring and saving the cache
        key: build-graft-${{ runner.os }}
        restore-keys: |
          build-graft-${{ runner.os }}
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose
      
  clippy_check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run Clippy
        run: cargo clippy --all-targets --all-features -- -Dclippy::pedantic