File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 - name : Run clippy
2222 run : cargo clippy --all-targets --all-features --locked -- -D warnings
2323
24+ - name : Install dnsmasq
25+ run : sudo apt-get update && sudo apt-get install -y dnsmasq
26+
27+ - name : Start dnsmasq
28+ run : sudo dnsmasq --no-daemon --no-hosts --no-resolv --port=53 --server=1.1.1.1 &
29+
2430 - name : Run tests
25- run : cargo test --all --locked --verbose
31+ run : cargo test --all --locked --verbose -- --include-ignored
Original file line number Diff line number Diff line change @@ -148,3 +148,17 @@ Then run tests with:
148148``` bash
149149cargo test -- --ignored
150150```
151+
152+ ## Linting
153+
154+ Run clippy for lints:
155+
156+ ``` bash
157+ cargo clippy --all-targets --all-features
158+ ```
159+
160+ Run rustfmt for formatting:
161+
162+ ``` bash
163+ cargo fmt --all
164+ ```
You can’t perform that action at this time.
0 commit comments