feat: add synced settings storage and API endpoints #11
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: Quality | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.26" | |
| - name: Verify go.mod is tidy | |
| run: | | |
| go mod tidy | |
| git diff --exit-code go.mod go.sum | |
| - name: Verify no local replace directive | |
| run: | | |
| if grep -q '^replace.*uncord-protocol' go.mod; then | |
| echo "ERROR: go.mod contains an active replace directive for uncord-protocol." | |
| echo "Remove or comment it out before merging." | |
| exit 1 | |
| fi | |
| - name: Lint | |
| uses: golangci/golangci-lint-action@v9 |