feat(ui): sort sessions by recent activity #32
Workflow file for this run
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: sqlc Generate Check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "go/core/internal/database/queries/**" | |
| - "go/core/internal/database/sqlc.yaml" | |
| - "go/core/pkg/migrations/**" | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26" | |
| cache: true | |
| cache-dependency-path: go/go.sum | |
| - name: Run sqlc generate | |
| working-directory: go | |
| run: make sqlc-generate | |
| - name: Fail if generated files differ | |
| run: | | |
| if ! git diff --quiet go/core/internal/database/gen/; then | |
| echo "ERROR: sqlc generate produced changes. Run sqlc generate locally and commit the result." | |
| echo "" | |
| git diff go/core/internal/database/gen/ | |
| exit 1 | |
| fi | |
| echo "OK: generated files are up to date." |