The examples show: - Building a Signed Pod with different types of values - Building a MainPod - Input SignedPod to MainPod - Input MainPod to MainPod - Using MainPod or MockMainPod - Using custom predicates
23 lines
569 B
YAML
23 lines
569 B
YAML
name: Clippy 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: clippy
|
|
- name: Check lints with clippy
|
|
run: cargo clippy
|
|
- name: Check lints with clippy (examples)
|
|
run: cargo clippy --examples
|