mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* Enforce clang-format for proto files in proto/ * Update pb files after #14818 * Changelog fragment
22 lines
496 B
YAML
22 lines
496 B
YAML
name: Protobuf Format
|
|
|
|
on:
|
|
push:
|
|
branches: [ '*' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
merge_group:
|
|
types: [checks_requested]
|
|
|
|
jobs:
|
|
clang-format-checking:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
# Is this step failing for you?
|
|
# Run: clang-format -i proto/**/*.proto
|
|
# See: https://clang.llvm.org/docs/ClangFormat.html
|
|
- uses: RafikFarhad/clang-format-github-action@v3
|
|
with:
|
|
sources: "proto/**/*.proto"
|