Skip to content

chore: add correct rules to .gitignore regarding model test files (#20) #22

chore: add correct rules to .gitignore regarding model test files (#20)

chore: add correct rules to .gitignore regarding model test files (#20) #22

Workflow file for this run

name: Rust
on:
pull_request:
paths-ignore:
- "docs/**"
push:
paths-ignore:
- "docs/**"
branches:
- 'v*.*.*-celestia'
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: cargo clippy --all --all-targets
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Cargo doc
run: cargo doc --all-features
env:
RUSTDOCFLAGS: "--cfg docsrs"
# toolchain: nightly-2023-03-01 # regression prevents docs from building