Skip to content

Readme

Readme #8

Workflow file for this run

name: Tests
on:
push:
branches: [ stable ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets --all-features --locked -- -D warnings
- name: Install dnsmasq
run: sudo apt-get update && sudo apt-get install -y dnsmasq
- name: Start dnsmasq
run: dnsmasq --no-daemon --no-hosts --no-resolv --port=5353 --server=1.1.1.1 &
- name: Run tests
run: cargo test --all --locked --verbose -- --include-ignored