Skip to content
Snippets Groups Projects
Commit 550599e9 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Update buf linter -> 1.50.0

- update config version v1beta1->v2
parent 71379e9b
Branches
No related tags found
1 merge request!12Extend Upload API for resumable downloads
Pipeline #61582 failed
...@@ -12,7 +12,7 @@ RUN apt-get install -y protobuf-compiler ...@@ -12,7 +12,7 @@ RUN apt-get install -y protobuf-compiler
# buf # buf
RUN BIN="/usr/local/bin" && \ RUN BIN="/usr/local/bin" && \
VERSION="0.43.2" && \ VERSION="1.50.0" && \
BINARY_NAME="buf" && \ BINARY_NAME="buf" && \
curl -sSL \ curl -sSL \
"https://github.com/bufbuild/buf/releases/download/v${VERSION}/${BINARY_NAME}-$(uname -s)-$(uname -m)" \ "https://github.com/bufbuild/buf/releases/download/v${VERSION}/${BINARY_NAME}-$(uname -s)-$(uname -m)" \
......
# configuration for buf. See https://docs.buf.build/ version: v2
version: v1beta1 modules:
build: - path: proto
roots:
- proto
lint: lint:
use: use:
- DEFAULT
- COMMENTS - COMMENTS
- OTHER - STANDARD
except: except:
ignore: - ENUM_FIRST_VALUE_ZERO
- FIELD_NOT_REQUIRED
- IMPORT_USED
- PACKAGE_NO_IMPORT_CYCLE
- PROTOVALIDATE
- SYNTAX_SPECIFIED
disallow_comment_ignores: true
breaking: breaking:
use: use:
- FILE - FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment