Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/samples.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:

Check warning on line 1 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:1: overly broad permissions: default permissions used due to no permissions: block
push:
branches:
- postgresql-dialect
Expand All @@ -6,12 +6,12 @@
workflow_dispatch:
name: samples
jobs:
java-samples:

Check warning on line 9 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:9: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

Check failure on line 12 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 12 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:12: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Setup Java
uses: actions/setup-java@v5

Check failure on line 14 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 14 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:14: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
distribution: zulu
java-version: 17
Expand All @@ -27,13 +27,13 @@
- name: Run Spring Data JPA Sample tests
working-directory: ./samples/java/spring-data-jpa
run: mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
go-samples:

Check warning on line 30 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:30: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v7

Check failure on line 33 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 33 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:33: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: actions/setup-go@v7

Check failure on line 34 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 34 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:34: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
go-version: '1.26.5'
go-version: '1.27.0'
- run: go version
# Temporarily skipped due to a bug in the Emulator
# - name: Run gorm Sample tests
Expand All @@ -45,11 +45,11 @@
- name: Run migrate Sample tests
working-directory: ./samples/golang/migrate
run: go test
python-samples:

Check warning on line 48 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:48: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

Check failure on line 51 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 51 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:51: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: actions/setup-python@v7

Check failure on line 52 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 52 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:52: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
python-version: '3.14'
- run: python --version
Expand All @@ -75,11 +75,11 @@
run: |
pip install -r requirements.txt
python connectorx_sample.py
nodejs-samples:

Check warning on line 78 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:78: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v7

Check failure on line 81 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 81 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:81: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: actions/setup-node@v7

Check failure on line 82 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 82 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:82: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
node-version: 24
- run: node --version
Expand Down Expand Up @@ -113,11 +113,11 @@
env:
TESTCONTAINERS_HOST_OVERRIDE: 127.0.0.1
TESTCONTAINERS_RYUK_DISABLED: true
ruby-samples:

Check warning on line 116 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:116: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

Check failure on line 119 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 119 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:119: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- uses: ruby/setup-ruby@v1

Check failure on line 120 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

samples.yaml:120: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
ruby-version: '4.0.6'
bundler-cache: true
Expand All @@ -127,7 +127,7 @@
run: |
bundle install
bundle exec rake run
dotnet-samples:

Check warning on line 130 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:130: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand All @@ -137,7 +137,7 @@
- name: Run npgsql Sample tests
working-directory: ./samples/dotnet/npgsql-sample
run: dotnet run Program.cs
php-samples:

Check warning on line 140 in .github/workflows/samples.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

samples.yaml:140: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snippets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:

Check warning on line 1 in .github/workflows/snippets.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

snippets.yaml:1: overly broad permissions: default permissions used due to no permissions: block
push:
branches:
- postgresql-dialect
Expand All @@ -6,7 +6,7 @@
workflow_dispatch:
name: snippets
jobs:
psql-snippets:

Check warning on line 9 in .github/workflows/snippets.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

snippets.yaml:9: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand Down Expand Up @@ -37,7 +37,7 @@
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: '1.26.x'
go-version: '1.27.x'
- name: Run Go snippets
working-directory: ./samples/snippets/golang-snippets
run: go test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/units.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: java -version
- uses: actions/setup-go@v7
with:
go-version: '1.26.5'
go-version: '1.27.0'
- run: go version
- uses: actions/setup-python@v7
with:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- run: java -version
- uses: actions/setup-go@v7
with:
go-version: '1.26.5'
go-version: '1.27.0'
- run: go version
- uses: actions/setup-python@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/latency-comparison/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module cloud.google.com/pgadapter-latency-benchmark

go 1.25.8

toolchain go1.26.6
toolchain go1.27.0

require (
cloud.google.com/go/spanner v1.94.0
Expand Down
2 changes: 1 addition & 1 deletion samples/cloud-run/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module pgadapter-cloud-run

go 1.25.0

toolchain go1.26.6
toolchain go1.27.0

require github.com/jackc/pgx/v5 v5.10.0

Expand Down
2 changes: 1 addition & 1 deletion samples/golang/gorm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module gorm

go 1.25.0

toolchain go1.26.6
toolchain go1.27.0

require (
github.com/GoogleCloudPlatform/pgadapter/wrappers/golang v0.55.2
Expand Down
2 changes: 1 addition & 1 deletion samples/golang/migrate/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module migrate

go 1.25.0

toolchain go1.26.6
toolchain go1.27.0

require (
github.com/GoogleCloudPlatform/pgadapter/wrappers/golang v0.55.2
Expand Down
2 changes: 1 addition & 1 deletion samples/golang/pgx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module pgadapter-pgx-sample

go 1.25.0

toolchain go1.26.6
toolchain go1.27.0

require (
github.com/GoogleCloudPlatform/pgadapter/wrappers/golang v0.55.2
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/golang-snippets/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module golang-snippets

go 1.25.0

toolchain go1.26.6
toolchain go1.27.0

require (
github.com/docker/docker v28.5.2+incompatible
Expand Down
2 changes: 1 addition & 1 deletion wrappers/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/GoogleCloudPlatform/pgadapter/wrappers/golang

go 1.25.0

toolchain go1.26.6
toolchain go1.27.0

require (
github.com/moby/moby/api v1.55.0
Expand Down
Loading