mirror of
https://github.com/karust/openserp.git
synced 2026-08-17 05:46:07 +08:00
docs: add architecture, OpenAPI spec, Swagger UI, and contributing guide
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -23,14 +23,22 @@ jobs:
|
||||
go-version: "1.24"
|
||||
cache: true
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
- name: Run unit tests
|
||||
run: go test -race -count=1 ./...
|
||||
|
||||
- name: Run go vet
|
||||
run: go vet ./...
|
||||
|
||||
- name: Lint OpenAPI spec
|
||||
run: npx --yes @redocly/cli lint docs/openapi.yaml
|
||||
|
||||
- name: Build
|
||||
run: go build .
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
|
||||
Reference in New Issue
Block a user