99# branches: ['main']
1010
1111jobs :
12- staticcheck :
13- name : ' staticcheck'
14- runs-on : ' ubuntu-latest'
15- steps :
16- - uses : ' actions/checkout@v6'
17- - uses : ' dominikh/staticcheck-action@v1.3.1'
18- with : {version: '2025.1.1'}
12+ # staticcheck:
13+ # name: 'staticcheck'
14+ # runs-on: 'ubuntu-latest'
15+ # steps:
16+ # - uses: 'actions/checkout@v6'
17+ # - uses: 'dominikh/staticcheck-action@v1.3.1'
18+ # with: {version: '2025.1.1'}
1919
20- test :
21- runs-on : ' ubuntu-latest'
22- strategy :
23- fail-fast : false
24- matrix :
25- # pg: ['14', '15', '16', '17']
26- # go: ['1.18', '1.25']
27- pg : ['17']
28- go : ['1.25']
29- steps :
30- - uses : ' actions/checkout@v6'
31- - uses : ' actions/setup-go@v6'
32- with :
33- go-version : ${{ matrix.go }}
34- - name : ' Run tests'
35- run : |
36- docker compose up pg${{ matrix.pg }} -d --wait || exit 1
37- echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts
38- set -x
39- PQTEST_BINARY_PARAMETERS=no go test -race ./...
40- PQTEST_BINARY_PARAMETERS=yes go test -race ./...
41- set +x
20+ # test:
21+ # runs-on: 'ubuntu-latest'
22+ # strategy:
23+ # fail-fast: false
24+ # matrix:
25+ # #pg: ['14', '15', '16', '17']
26+ # #go: ['1.18', '1.25']
27+ # pg: ['17']
28+ # go: ['1.25']
29+ # steps:
30+ # - uses: 'actions/checkout@v6'
31+ # - uses: 'actions/setup-go@v6'
32+ # with:
33+ # go-version: ${{ matrix.go }}
34+ # - name: 'Run tests'
35+ # run: |
36+ # docker compose up pg${{ matrix.pg }} -d --wait || exit 1
37+ # echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts
38+ # set -x
39+ # PQTEST_BINARY_PARAMETERS=no go test -race ./...
40+ # PQTEST_BINARY_PARAMETERS=yes go test -race ./...
41+ # set +x
4242
4343 macos :
4444 runs-on : ' macos-latest'
@@ -51,13 +51,14 @@ jobs:
5151 go : ['1.25']
5252 steps :
5353 - uses : ' actions/checkout@v6'
54- - uses : ' cpunion/setup-docker-compose@v1'
54+ # - uses: 'cpunion/setup-docker-compose@v1'
55+ - uses : ' douglascamata/setup-docker-macos-action@v1'
5556 - uses : ' actions/setup-go@v6'
56- with :
57+ with :
5758 go-version : ${{ matrix.go }}
5859 - name : ' Run tests'
5960 run : |
60- docker- compose up pg${{ matrix.pg }} -d --wait || exit 1
61+ docker compose up pg${{ matrix.pg }} -d --wait || exit 1
6162 echo '127.0.0.1 postgres' | sudo tee -a /etc/hosts
6263 set -x
6364 PQTEST_BINARY_PARAMETERS=no go test -race ./...
0 commit comments