Dep reqs #284
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: Dep reqs | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| schedule: | |
| - cron: '0 5 * * *' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| minimal-deps: | |
| # Build and test with the oldest possible versions of deps. This helps ensure the semver requirements for deps | |
| # are OK. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@1.65 | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Set up nightly | |
| run: | | |
| rustup install nightly-2023-06-15 | |
| rustup default nightly-2023-06-15 | |
| - name: Remove Cargo.lock | |
| run: rm Cargo.lock | |
| - name: Build | |
| run: cargo build --features __all-non-conflicting-features,abi -Zminimal-versions --verbose | |
| - name: Run tests | |
| run: cargo test --features __all-non-conflicting-features,abi --workspace -Zminimal-versions --verbose | |
| maximal-deps: | |
| # Build and test with the newest possible versions of deps. This helps ensure the semver requirements for deps | |
| # are OK. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Update Cargo.lock | |
| run: cargo update | |
| - name: Build | |
| run: cargo build --features __all-non-conflicting-features,abi --verbose | |
| - name: Run tests | |
| run: cargo test --features __all-non-conflicting-features,abi --workspace --verbose |