From 56269c89e82ac96075e55173f168032819ef8968 Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Thu, 30 Dec 2021 10:12:21 -0800 Subject: [PATCH] fix linting warnings --- .github/workflows/ci.yml | 5 ++++- admin.proto | 2 +- mesh.proto | 4 ++-- storeforward.proto | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f6fd02..0f00fd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,13 +3,16 @@ on: push: branches: - master + pull_request: + branches: + - master jobs: lint: environment: Production runs-on: ubuntu-latest - + steps: - name: checkout source uses: actions/checkout@v1 diff --git a/admin.proto b/admin.proto index b9eb32e..0b85324 100644 --- a/admin.proto +++ b/admin.proto @@ -5,8 +5,8 @@ option optimize_for = LITE_RUNTIME; option go_package = "github.com/meshtastic/gomeshproto"; import "channel.proto"; -import "radioconfig.proto"; import "mesh.proto"; +import "radioconfig.proto"; option java_outer_classname = "AdminProtos"; diff --git a/mesh.proto b/mesh.proto index 232b26c..caaa1d2 100644 --- a/mesh.proto +++ b/mesh.proto @@ -1002,12 +1002,12 @@ message MyNodeInfo { /* * Is the device wifi capable? */ - bool has_wifi = 18; + bool has_wifi = 18; /* * Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise). */ - float channel_utilization = 19; + float channel_utilization = 19; /* diff --git a/storeforward.proto b/storeforward.proto index b84a3ab..53c5a1b 100644 --- a/storeforward.proto +++ b/storeforward.proto @@ -161,7 +161,7 @@ message StoreAndForward { /* * If set, this is not the primary Store & Forward router on the mesh */ - uint32 secondary = 2; + uint32 secondary = 2; }