system-memory 0.1.7

A small crate to get info/stats on the host's memory
Documentation

name: Cargo Check
on: ["push", "pull_request"]

# Cancel in-progress runs for previous commits if there are any that haven't completed yet.
concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
  cancel-in-progress: true

jobs:
  check:
    runs-on: ubuntu-latest
    
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      # Use stable Rust toolchain 
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
      
      # Use tq to list targets and install them
      - name: Install tq
        run: cargo install tomlq

      - name: Install additional targets
        run: |

          rustup target add $(tq -f .cargo/config.toml build.target -o json | jq -r "@sh" | tr -d "'")
  
      - name: Run cargo check
        run: cargo check