Implement TypedFunc::call
as variadic-ish (as much as possible)
#114
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [1.76.0, stable, beta, nightly] | |
# Test with no features, default features ("") and all features. | |
# Ordered fewest features to most features. | |
args: ["--no-default-features", "", "--all-features"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v1 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
# - if: matrix.rust == 'stable' | |
# run: rustup component add clippy | |
# - if: matrix.rust == 'stable' | |
# run: cargo clippy -- -D warnings | |
- run: cargo build --verbose ${{ matrix.args }} | |
- run: cargo test --verbose ${{ matrix.args }} |