fix: Allow multiple accounts per (party, org, instrument) - unblock n… #1285
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: Service Conventions | |
| on: | |
| push: | |
| branches: [develop, main] | |
| paths: | |
| - '**.go' | |
| - 'api/proto/**' | |
| - 'buf.yaml' | |
| - 'buf.gen.yaml' | |
| - 'buf.lock' | |
| - 'services/**' | |
| - 'shared/**' | |
| - 'frontend/buf.gen.yaml' | |
| - 'frontend/src/api/gen/**' | |
| - 'frontend/package.json' | |
| - 'frontend/package-lock.json' | |
| - 'scripts/verify-service-conventions.sh' | |
| - '.github/workflows/conventions.yml' | |
| pull_request: | |
| branches: [develop, main] | |
| paths: | |
| - '**.go' | |
| - 'api/proto/**' | |
| - 'buf.yaml' | |
| - 'buf.gen.yaml' | |
| - 'buf.lock' | |
| - 'services/**' | |
| - 'shared/**' | |
| - 'frontend/buf.gen.yaml' | |
| - 'frontend/src/api/gen/**' | |
| - 'frontend/package.json' | |
| - 'frontend/package-lock.json' | |
| - 'scripts/verify-service-conventions.sh' | |
| - '.github/workflows/conventions.yml' | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify-conventions: | |
| name: Service Conventions | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up buf | |
| uses: bufbuild/buf-action@v1 | |
| with: | |
| setup_only: true | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| working-directory: frontend | |
| - name: Run service convention checks | |
| run: ./scripts/verify-service-conventions.sh |