Skip to content

Commit

Permalink
Merge pull request #27 from kanmu/pgx-v5
Browse files Browse the repository at this point in the history
Update pgx to v5
  • Loading branch information
michiomochi authored Jul 16, 2024
2 parents 5b9b9fc + 9339183 commit 92238e8
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 162 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ jobs:
# - macOS-latest
# - windows-latest
go:
- "1.22"
- "1.21"
- "1.20"
- "1.19"
- "1.18"
- "1.17"
services:
postgres:
image: postgres:12
Expand All @@ -40,7 +38,7 @@ jobs:
uses: actions/checkout@v4

- name: Lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6

- name: Prepare test database
run: make db
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ db:
.PHONY: table
table:
psql -U qgtest -h localhost -d qgtest -f schema.sql

.PHONY: lint
lint:
golangci-lint run
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ module github.com/kanmu/qg
go 1.16

require (
github.com/jackc/pgconn v1.14.3
github.com/jackc/pgx/v4 v4.18.3
github.com/lib/pq v1.10.3 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/jackc/pgx/v5 v5.6.0
golang.org/x/crypto v0.20.0 // indirect
gopkg.in/guregu/null.v3 v3.0.2-0.20160228005316-41961cea0328
)
Loading

0 comments on commit 92238e8

Please sign in to comment.