Skip to content

Add commit hooks

Add commit hooks #11

Workflow file for this run

name: Natrix ir
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
defaults:
run:
working-directory: ./ir
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Linting
run: cargo clippy -- -D warnings