fix(couchbase): persist json:"-" fields; guard nil password in login #131
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: CI | |
| on: | |
| # Validate on PRs and on releases. Changes only reach main via PRs (which | |
| # already ran this), so a post-merge `push: main` run would just duplicate it. | |
| pull_request: | |
| release: | |
| types: [created] | |
| permissions: | |
| contents: read | |
| # Cancel superseded runs on the same ref (e.g. rapid pushes to a PR). | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Lint (golangci-lint) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| # Installs the pinned golangci-lint on demand (see Makefile lint-tools) | |
| # and runs it over the module. Config lives in .golangci.yml. | |
| - name: Run golangci-lint | |
| run: make lint-go | |
| test: | |
| name: Go tests (SQLite) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Run tests | |
| run: make test | |
| smoke: | |
| name: Release smoke (GraphQL + REST + gRPC + MCP) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| # Black-box end-to-end pass over every public API surface against the | |
| # freshly built binary (see internal/e2e/smoke_test.go). | |
| - name: Run smoke tests | |
| run: make smoke |