uptimer 0.2.1

A multiplatform library to get the uptime of the current process.
Documentation
name: Formatting

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

env:
  CARGO_TERM_COLOR: always

jobs:
  check-rs-format:
    name: Check Formatting (Rust)
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          override: true
          toolchain: nightly
      - run: rustup component add rustfmt
      - name: rustfmt
        run: cargo fmt --check

  check-prettier-format:
    name: Check Formatting (Prettier)
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Check formatting with Prettier
        uses: actionsx/prettier@v3
        with:
          args: -c .