Skip to content

refactor(udp): pass SocketAddr instead of &SocketAddr (#2169) #4

refactor(udp): pass SocketAddr instead of &SocketAddr (#2169)

refactor(udp): pass SocketAddr instead of &SocketAddr (#2169) #4

Workflow file for this run

name: Format
on:
push:
branches: ["main"]
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"]
pull_request:
branches: ["main"]
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"]
merge_group:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: ./.github/actions/rust
with:
version: nightly
components: rustfmt
token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo fmt --all -- --check