fixes invalid rdata length when generating compressed packets #140
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: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test-dev: | |
name: Test Dev on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Clippy | |
run: cargo clippy --all-features -- -D warnings | |
- name: Build | |
run: cargo build --verbose --all-features | |
- name: Run tests | |
run: cargo test --verbose --all-features | |
test-release: | |
name: Test Release on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Clippy | |
run: cargo clippy --release --all-features -- -D warnings | |
- name: Build | |
run: cargo build --verbose --release --all-features | |
- name: Run tests | |
run: cargo test --verbose --release --all-features |