Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Sep 29, 2024
1 parent 23756b6 commit b946243
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 130 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
with:
fetch-depth: 0

- uses: 'actions/setup-go@v4'
- uses: 'actions/setup-go@v5'
with:
go-version: '1.21'
go-version-file: 'go.mod'

- uses: 'docker/login-action@v3'
with:
Expand All @@ -47,7 +47,7 @@ jobs:
gpg_private_key: '${{ secrets.GPG_PRIVATE_KEY }}'
passphrase: '${{ secrets.GPG_PASSPHRASE }}'

- uses: 'goreleaser/goreleaser-action@v5'
- uses: 'goreleaser/goreleaser-action@v6'
with:
version: 'latest'
args: 'release --clean'
Expand Down
32 changes: 22 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,31 @@ jobs:
steps:
- uses: 'actions/checkout@v4'

- uses: 'actions/setup-go@v4'
- uses: 'actions/setup-go@v5'
with:
go-version: '1.21'

- run: 'go mod download'

- run: 'make test'
if: '${{ !env.CREDENTIALS }}'

- uses: 'google-github-actions/auth@v0'
go-version-file: 'go.mod'

- name: 'Unit tests'
run: |-
go test \
-count=1 \
-race \
-short \
-shuffle=on \
-timeout='10m' \
./...
- uses: 'google-github-actions/auth@v2'
if: '${{ env.CREDENTIALS }}'
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'

- run: 'make test-acc'
- name: 'Acceptance tests'
if: '${{ env.CREDENTIALS }}'
run: |-
go test \
-count=1 \
-race \
-shuffle=on \
-timeout='10m' \
./...
15 changes: 0 additions & 15 deletions Makefile

This file was deleted.

69 changes: 36 additions & 33 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,48 +1,51 @@
module github.com/GoogleCloudPlatform/berglas/v2

go 1.21.4
go 1.22

toolchain go1.23.1

require (
cloud.google.com/go/iam v1.1.7
cloud.google.com/go/kms v1.15.8
cloud.google.com/go/secretmanager v1.12.0
cloud.google.com/go/storage v1.40.0
github.com/sethvargo/go-retry v0.2.4
github.com/spf13/cobra v1.8.0
golang.org/x/sync v0.7.0
google.golang.org/api v0.172.0
google.golang.org/grpc v1.63.0
google.golang.org/protobuf v1.33.0
cloud.google.com/go/iam v1.2.1
cloud.google.com/go/kms v1.20.0
cloud.google.com/go/secretmanager v1.14.1
cloud.google.com/go/storage v1.43.0
github.com/sethvargo/go-retry v0.3.0
github.com/spf13/cobra v1.8.1
golang.org/x/sync v0.8.0
google.golang.org/api v0.199.0
google.golang.org/grpc v1.67.0
google.golang.org/protobuf v1.34.2
)

require (
cloud.google.com/go v0.112.2 // indirect
cloud.google.com/go/compute v1.25.1 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go v0.115.1 // indirect
cloud.google.com/go/auth v0.9.5 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
cloud.google.com/go/compute/metadata v0.5.2 // indirect
cloud.google.com/go/longrunning v0.6.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.3 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.50.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.50.0 // indirect
go.opentelemetry.io/otel v1.25.0 // indirect
go.opentelemetry.io/otel/metric v1.25.0 // indirect
go.opentelemetry.io/otel/trace v1.25.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/oauth2 v0.19.0 // indirect
golang.org/x/sys v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/genproto v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.55.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
go.opentelemetry.io/otel v1.30.0 // indirect
go.opentelemetry.io/otel/metric v1.30.0 // indirect
go.opentelemetry.io/otel/trace v1.30.0 // indirect
golang.org/x/crypto v0.27.0 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/time v0.6.0 // indirect
google.golang.org/genproto v0.0.0-20240924160255-9d4c2d233b61 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240924160255-9d4c2d233b61 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 // indirect
)
Loading

0 comments on commit b946243

Please sign in to comment.