Skip to content

Commit

Permalink
Update cockroach-go module version
Browse files Browse the repository at this point in the history
The new cockroach-go module adds a tenant scope argument
while generating client certificates for tenant servers
within the cockroach go repo. We need this new change in
order for the tests with example-orms to work correctly
with the upcoming changes for tenant scoped client certificates.
Without this change, the tenant tests will fail as the client
certificates generated through the cockroach-go modules will be
unable to authenticate correctly with the tenant server.
  • Loading branch information
rimadeodhar committed Jun 8, 2022
1 parent 14d45d4 commit 39075fc
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 62 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/golangci-lint.yml
Expand Up @@ -16,9 +16,11 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
go-version: 1.17
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.29
version: v1.46.2
38 changes: 33 additions & 5 deletions go.mod
@@ -1,13 +1,41 @@
module github.com/cockroachdb/examples-orms

go 1.13
go 1.17

require (
github.com/cockroachdb/cockroach-go/v2 v2.2.4
github.com/cockroachdb/cockroach-go/v2 v2.2.12
github.com/go-pg/pg/v10 v10.9.0
github.com/julienschmidt/httprouter v1.1.0
github.com/lib/pq v1.10.0
github.com/lib/pq v1.10.6
github.com/pkg/errors v0.9.1
gorm.io/driver/postgres v1.0.8
gorm.io/gorm v1.21.6
gorm.io/driver/postgres v1.3.5
gorm.io/gorm v1.23.5
)

require (
github.com/go-pg/zerochecker v0.2.0 // indirect
github.com/gofrs/flock v0.8.1 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.12.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.11.0 // indirect
github.com/jackc/pgx/v4 v4.16.1 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.4 // indirect
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
github.com/vmihailenco/bufpool v0.1.11 // indirect
github.com/vmihailenco/msgpack/v5 v5.3.0 // indirect
github.com/vmihailenco/tagparser v0.1.2 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
go.opentelemetry.io/otel v0.19.0 // indirect
go.opentelemetry.io/otel/metric v0.19.0 // indirect
go.opentelemetry.io/otel/trace v0.19.0 // indirect
golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167 // indirect
golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
mellium.im/sasl v0.2.1 // indirect
)

0 comments on commit 39075fc

Please sign in to comment.