xml2json-rs 1.0.1

A library for converting to and from XML/JSON
Documentation
name: Rust

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

env:
  CARGO_TERM_COLOR: always

jobs:
  verify-format:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - run: rustup toolchain install nightly
    - run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
    - run: cargo +nightly fmt --check

  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Run tests
      run: cargo test --verbose