Skip to content

Commit

Permalink
fix: add buf lint example
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
  • Loading branch information
glimchb authored Oct 24, 2023
1 parent 5123ea2 commit e7cace1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ Linter it as:
docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.57.0 -c "api-linter -I /common /out/*.proto --output-format github --set-exit-status"
```

Additional linter:

```bash
docker run --rm -it -v /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:/etc/ssl/certs/ca-certificates.crt -v "$(pwd):/workspace" -w /workspace bufbuild/buf lint
```

Generate [docs](v1alpha1/autogen.md) as:

```bash
Expand Down

0 comments on commit e7cace1

Please sign in to comment.