This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
document all unsafe blocks #11
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: batcher | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
- name: Install Rust toolchain | |
run: rustup default nightly | |
- name: Install cargo-hack | |
run: cargo install cargo-hack | |
- name: All | |
working-directory: ./batcher | |
run: cargo test --all-features | |
- name: Powerset | |
working-directory: ./batcher | |
run: cargo hack test --feature-powerset --lib | |
- name: Minimal versions | |
working-directory: ./batcher | |
run: cargo hack test --feature-powerset --lib -Z minimal-versions |