Skip to content

Commit f1e2b14

Browse files
heavycrystaljackc
authored andcommitted
fix ci and update postgres/go versions
1 parent 29dcedd commit f1e2b14

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
go-version: ["1.19", "1.20"]
16-
pg-version: [13, 14, 15]
15+
# minimum and latest version of Go
16+
go-version: ["1.21", "1.24"]
17+
# all supported versions of Postgres
18+
pg-version: [13, 14, 15, 16, 17]
1719
fail-fast: false
1820
env:
1921
PGLOGREPL_TEST_CONN_STRING: "postgres://pglogrepl:[email protected]/pglogrepl?replication=database"
@@ -25,8 +27,6 @@ jobs:
2527
with:
2628
go-version: ${{ matrix.go-version }}
2729
- name: Stand up Postgres ${{ matrix.pg-version }}
28-
run: docker-compose up -d postgres
29-
env:
30-
POSTGRES_VERSION: ${{ matrix.pg-version }}
30+
run: docker compose up -d postgres:${{ matrix.pg-version }}-alpine
3131
- name: Run tests
3232
run: go test -v -race ./...

0 commit comments

Comments
 (0)