* wip * prototype custom predicates 1b * feat: implement custom pred recursion * files reorg, add github CI for rustfmt checks --------- Co-authored-by: arnaucube <git@arnaucube.com>
21 lines
495 B
YAML
21 lines
495 B
YAML
name: Rustfmt Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
types: [ready_for_review, opened, synchronize, reopened]
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
rustfmt:
|
|
if: github.event.pull_request.draft == false
|
|
name: Rust formatting
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
with:
|
|
components: rustfmt
|
|
- name: Check formatting
|
|
uses: actions-rust-lang/rustfmt@v1
|