if-changed 0.3.4

A pre-submit for file changes.
Documentation
1
2
3
4
5
6
7
8
9
pre-commit:
  commands:
    rust-fmt:
      glob: "**/*.rs"
      run: cargo fmt
      stage_fixed: true
    rust-lint:
      glob: "**/*.rs"
      run: cargo clippy -- -D warnings