From ca11dbf90caaca248cd661254742e3afdf147b8d Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Mon, 30 May 2022 15:25:00 +1000 Subject: [PATCH] Format proto code after generation --- .github/workflows/ci.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 838946a134..73d3310767 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,18 +42,6 @@ jobs: cd nim-waku/build ./wakunode2 --help - - name: Install bufbuild - uses: mathematic-inc/setup-buf@v2beta - with: - buf-version: ${{ env.BUF_VERSION }} - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - version: "3.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Cache npm cache uses: actions/cache@v2 with: @@ -64,7 +52,9 @@ jobs: uses: bahmutov/npm-install@v1 - name: Generate protobuf code - run: npm run proto + run: | + npm run proto + npm run fix - name: Check all protobuf code was committed shell: bash