Change PageRangeFormat::format
to follow Pandoc
#83
Workflow file for this run
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: Continuous integration | |
on: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- | |
name: Check out CSL repos | |
run: | | |
cd .. | |
git clone --depth 1 https://github.com/citation-style-language/styles | |
git clone --depth 1 https://github.com/citation-style-language/locales | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build | |
- run: cargo test | |
checks: | |
name: Check clippy, formatting, and documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo clippy --all-targets | |
- run: cargo fmt --check --all | |
- run: cargo doc --no-deps |