From 6cdf1c73c042e1c3143ca0dcbd770ce6e32dba5b Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 15 Aug 2023 21:06:03 +0100 Subject: [PATCH] chore: update sqlc to version 1.20.0 (#9111) --- .github/actions/setup-sqlc/action.yaml | 2 +- .github/workflows/ci.yaml | 4 +--- coderd/database/models.go | 2 +- coderd/database/querier.go | 2 +- coderd/database/queries.sql.go | 2 +- dogfood/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/actions/setup-sqlc/action.yaml b/.github/actions/setup-sqlc/action.yaml index 354e55e821..d109a50f52 100644 --- a/.github/actions/setup-sqlc/action.yaml +++ b/.github/actions/setup-sqlc/action.yaml @@ -7,4 +7,4 @@ runs: - name: Setup sqlc uses: sqlc-dev/setup-sqlc@v3 with: - sqlc-version: "1.19.1" + sqlc-version: "1.20.0" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a67fdaa237..a5bb76489e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -640,9 +640,7 @@ jobs: go install github.com/golang/mock/mockgen@v1.6.0 - name: Setup sqlc - uses: sqlc-dev/setup-sqlc@v3 - with: - sqlc-version: "1.19.1" + uses: ./.github/actions/setup-sqlc - name: Format run: | diff --git a/coderd/database/models.go b/coderd/database/models.go index 0c1b4a7002..b51671afaa 100644 --- a/coderd/database/models.go +++ b/coderd/database/models.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.19.1 +// sqlc v1.20.0 package database diff --git a/coderd/database/querier.go b/coderd/database/querier.go index 46e45b6932..7280617ef8 100644 --- a/coderd/database/querier.go +++ b/coderd/database/querier.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.19.1 +// sqlc v1.20.0 package database diff --git a/coderd/database/queries.sql.go b/coderd/database/queries.sql.go index e8e77cbfaa..a7cf539b3b 100644 --- a/coderd/database/queries.sql.go +++ b/coderd/database/queries.sql.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.19.1 +// sqlc v1.20.0 package database diff --git a/dogfood/Dockerfile b/dogfood/Dockerfile index f269962369..8f156bd515 100644 --- a/dogfood/Dockerfile +++ b/dogfood/Dockerfile @@ -53,7 +53,7 @@ RUN mkdir --parents "$GOPATH" && \ # charts and values files go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.5.0 && \ # sqlc for Go code generation - go install github.com/kyleconroy/sqlc/cmd/sqlc@v1.19.1 && \ + go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.20.0 && \ # gcr-cleaner-cli used by CI to prune unused images go install github.com/sethvargo/gcr-cleaner/cmd/gcr-cleaner-cli@v0.5.1 && \ # ruleguard for checking custom rules, without needing to run all of