Only set IPv6 MTU if IPv6 is enabled for wireguard-nt #8319
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: Rust - Check formatting | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/rustfmt.yml | |
- rustfmt.toml | |
- '**/*.rs' | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Checkout wireguard-go submodule | |
run: git submodule update --init --depth=1 wireguard-go-rs | |
- name: Check formatting | |
run: |- | |
rustfmt --version | |
cargo fmt -- --check |