Skip to content

fix: use snake case #210

fix: use snake case

fix: use snake case #210

Workflow file for this run

name: review
on:
pull_request:
branches:
- main
- feat/abac
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
with:
version: "1.15.1"
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
# The 'main' branch of the GitHub repository that defines the module.
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main"
- run: buf format -d --exit-code
diff-openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
with:
version: "1.15.1"
- name: "Generate OpenAPI & Diff"
run: |
./buf.gen.yaml
./scripts/update_swagger.sh docs/openapiv2/apidocs.swagger.json
git diff --text --exit-code docs/openapiv2/apidocs.swagger.json
validate-openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: char0n/swagger-editor-validate@v1
with:
definition-file: ./docs/openapiv2/apidocs.swagger.json