Skip to content

Commit

Permalink
ci: verify swagger.yaml is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
crazybolillo committed Jul 30, 2024
1 parent cb85e73 commit c99e2a1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ jobs:
- uses: golangci/golangci-lint-action@v5
with:
version: latest
swagger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install swag
run: go install github.com/swaggo/swag/cmd/swag@latest
- name: Generate swagger.yaml
run: make docs
- name: Verify swagger.yaml is up to date
run: git diff --exit-code docs/swagger.yaml
sqlc:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c99e2a1

Please sign in to comment.