diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index 1bd2d9c..877c220 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -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: