Fix stack overflow in heapless octetsbuilder with_capacity #262
Workflow file for this run
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, pull_request] | |
jobs: | |
test: | |
name: test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
rust: [1.65.0, stable, beta, nightly] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v1 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
# Because of all the features, we run build and test twice -- once with | |
# full features and once without any features at all -- to make it more | |
# likely that everything works. | |
# Clippy. | |
# | |
# Only do this once with all features enabled. | |
# Only do Clippy on stable for the moment, due to | |
# clippy::unknown_clippy_lints being removed. | |
- if: matrix.rust == 'nightly' | |
run: rustup component add clippy | |
- if: matrix.rust == 'nightyl' | |
run: cargo clippy --all --all-features -- -D warnings | |
# Build | |
- run: cargo build --verbose --all --all-features | |
- run: cargo build --verbose --all | |
# Test | |
- run: cargo test --verbose --all --all-features | |