fix: preserve PAR2 file order and count all recovery slices (#7) #28
This file contains hidden or 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: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| rust: | |
| # Dependabot metadata PRs do not consume the self-hosted validation runner. | |
| if: github.event_name != 'pull_request' || github.event.pull_request.user.type != 'Bot' | |
| runs-on: [self-hosted, node-b, linux, x64] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt,clippy | |
| - run: cargo fmt --all -- --check | |
| - run: cargo check --workspace | |
| - run: cargo test --workspace | |
| - run: cargo clippy --workspace -- -D warnings |