feat: Derive Eq and PartialEq for all info types #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
name: Unit Tests | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/rust-common-setup | |
- name: Run tests | |
run: cargo test --all-targets --all-features | |
- name: Run doc tests | |
run: cargo test --doc | |
fmt: | |
name: Format Check | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/rust-common-setup | |
with: | |
components: rustfmt | |
- name: Run rustfmt | |
run: cargo fmt --all -- --check | |
clippy: | |
name: Clippy Check | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/rust-common-setup | |
with: | |
components: clippy | |
- name: Run clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings |