when:
  - event: ["push", "pull_request"]
    branch: master

engine: nixery

steps:
  - name: "Check formatting"
    command: |
      mkdir -p bobbin/crates/types/src/_lex
      [ -f bobbin/crates/types/src/_lex/lib.rs ] || : > bobbin/crates/types/src/_lex/lib.rs
      nix run .#fmt -- --ci
