name: "CI Nix"
on:
  pull_request:
  push:
jobs:
  check:
    name: Rust project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: cachix/install-nix-action@v22
      - run: nix develop -c rustc --version
      - run: nix run
