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
on: push | |
name: Continuous integration (iban_validate) | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
- nightly | |
features: | |
- "" | |
- "--features serde" | |
- "--features rand" | |
- "--features proptest" | |
- "--features arbitrary" | |
- "--features serde rand" | |
- "--features rand proptest" | |
- "--features proptest arbitrary" | |
- "--features arbitrary serde" | |
- "--features serde rand proptest" | |
- "--features rand proptest arbitrary" | |
- "--features proptest arbitrary serde" | |
- "--features arbitrary serde rand" | |
- "--features arbitrary serde rand proptest" | |
command: | |
- build | |
- test | |
- doc | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
components: rustfmt, clippy | |
# Default features | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: ${{ matrix.command }} | |
args: ${{ matrix.features }} --manifest-path iban_validate/Cargo.toml |