moved unnecessary copy of StringOrInit up into the test layer #13
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, pull_request] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: test | |
| runs-on: ubuntu-24.04-xl | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v2 | |
| - uses: dsherret/rust-toolchain-file@v1 | |
| - name: Format | |
| run: rustfmt --check src/lib.rs | |
| - name: Build | |
| run: cargo build --release --all-targets --all-features | |
| - name: Test | |
| run: cargo test --release --all-targets --all-features | |
| - name: Lint | |
| run: cargo clippy --all-targets --all-features --release -- -D clippy::all |