Skip to content

Commit

Permalink
fix check-go-generate job and update sqlc to 1.16 (#22)
Browse files Browse the repository at this point in the history
* start debugging go generate job

* print go list

* attempt to fix go generate action

* update to sqlc 1.16
  • Loading branch information
capnspacehook authored Nov 9, 2022
1 parent 42df415 commit 25182b3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
go install github.com/rhysd/actionlint/cmd/actionlint@latest
actionlint
actionlint -ignore SC2046
4 changes: 2 additions & 2 deletions .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
- name: Ensure 'go generate' is clean
run: |
go generate "$(go list ./...)"
go generate $(go list ./...)
echo
echo
if ! git diff --name-only --exit-code; then
echo "The files above need updating. Please run 'go generate'."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion database/db.go

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

2 changes: 1 addition & 1 deletion database/models.go

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

2 changes: 1 addition & 1 deletion database/query.sql.go

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

0 comments on commit 25182b3

Please sign in to comment.