Skip to content

UdpListener: Use 'poll_send_to' instead of 'poll_send' to allow multiple connections #15

UdpListener: Use 'poll_send_to' instead of 'poll_send' to allow multiple connections

UdpListener: Use 'poll_send_to' instead of 'poll_send' to allow multiple connections #15

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt, clippy
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --all-targets --verbose --examples
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets --verbose
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
if: always()
with:
command: clippy
args: --workspace --all-targets --all-features -- -D warnings
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1