Skip to content

Commit

Permalink
just include sqlc output for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ddusichka committed Aug 21, 2024
1 parent fe0092d commit 0c6b9e4
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 13 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/backend-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ jobs:
with:
go-version: "1.22"

- name: Install Task
uses: arduino/setup-task@v1
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install sqlc
run: go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest

- name: Generate necessary backend code
run: task backend:generate

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ server
*.test

# Autogenerated files
/database/sqlc
# /database/sqlc

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
Expand Down
31 changes: 31 additions & 0 deletions backend/database/sqlc/db.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions backend/database/sqlc/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions backend/database/sqlc/queries.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c6b9e4

Please sign in to comment.