Skip to content

Commit

Permalink
Update Go dependencies (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort authored Sep 11, 2024
1 parent de1f61d commit 5ad6c3c
Show file tree
Hide file tree
Showing 40 changed files with 495 additions and 501 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Install Staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@2023.1.3
run: go install honnef.co/go/tools/cmd/staticcheck@2024.1.1

- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lint Go Code
run: staticcheck ./...
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: true
matrix:
go-version: [1.20.x, 1.21.x]
go-version: [1.21.x, 1.22.x]
env:
GOPATH: ${{ github.workspace }}/go
GOBIN: ${{ github.workspace }}/go/bin
Expand All @@ -44,7 +44,7 @@ jobs:
working-directory: ${{ env.GOPATH }}/src/github.com/rotationalio/ensign
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

Expand All @@ -57,21 +57,21 @@ jobs:
${{ runner.os }}-go-
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.GOPATH }}/src/github.com/rotationalio/ensign

- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: "23.x"
version: "27.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Dependencies
run: |
go version
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
- name: Code Generation
run: go generate ./...
Expand All @@ -84,7 +84,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
Expand Down Expand Up @@ -119,9 +119,9 @@ jobs:
working-directory: ${{ env.GOPATH }}/src/github.com/rotationalio/ensign
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Cache Speedup
uses: actions/cache@v3
Expand All @@ -132,21 +132,21 @@ jobs:
${{ runner.os }}-go-
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.GOPATH }}/src/github.com/rotationalio/ensign

- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: "23.x"
version: "27.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Dependencies
run: |
go version
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
- name: Code Generation
run: go generate ./...
Expand Down
8 changes: 4 additions & 4 deletions cmd/ensign/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ func status(c *cli.Context) (err error) {
opts = append(opts, grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{})))
}

ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()

var cc *grpc.ClientConn
if cc, err = grpc.DialContext(ctx, endpoint, opts...); err != nil {
if cc, err = grpc.NewClient(endpoint, opts...); err != nil {
return cli.Exit(err, 1)
}

ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()

var rep *api.ServiceState
client := api.NewEnsignClient(cc)
if rep, err = client.Status(ctx, &api.HealthCheck{}); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion containers/ensign/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dynamic Builds
ARG BUILDER_IMAGE=golang:1.20-bookworm
ARG BUILDER_IMAGE=golang:1.22-bookworm
ARG FINAL_IMAGE=debian:bookworm-slim

# Build stage
Expand Down
2 changes: 1 addition & 1 deletion containers/quarterdeck/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dynamic Builds
ARG BUILDER_IMAGE=golang:1.20-bookworm
ARG BUILDER_IMAGE=golang:1.22-bookworm
ARG FINAL_IMAGE=debian:bookworm-slim

# Build stage
Expand Down
2 changes: 1 addition & 1 deletion containers/tenant/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dynamic Builds
ARG BUILDER_IMAGE=golang:1.20-bookworm
ARG BUILDER_IMAGE=golang:1.22-bookworm
ARG FINAL_IMAGE=debian:bookworm-slim

# Build stage
Expand Down
2 changes: 1 addition & 1 deletion containers/uptime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dynamic Builds
ARG BUILDER_IMAGE=golang:1.20-bookworm
ARG BUILDER_IMAGE=golang:1.22-bookworm
ARG FINAL_IMAGE=debian:bookworm-slim

# Build stage
Expand Down
129 changes: 66 additions & 63 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,113 +1,116 @@
module github.com/rotationalio/ensign

go 1.20
go 1.22.1

toolchain go1.22.3

require (
github.com/bits-and-blooms/bloom/v3 v3.6.0
github.com/cenkalti/backoff/v4 v4.2.1
github.com/getsentry/sentry-go v0.24.1
github.com/gin-contrib/cors v1.4.0
github.com/gin-gonic/gin v1.9.1
github.com/bits-and-blooms/bloom/v3 v3.7.0
github.com/cenkalti/backoff/v4 v4.3.0
github.com/getsentry/sentry-go v0.29.0
github.com/gin-contrib/cors v1.7.2
github.com/gin-gonic/gin v1.10.0
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/google/go-querystring v1.1.0
github.com/google/uuid v1.3.1
github.com/gosimple/slug v1.13.1
github.com/google/uuid v1.6.0
github.com/gosimple/slug v1.14.0
github.com/hashicorp/go-multierror v1.1.1
github.com/joho/godotenv v1.5.1
github.com/lestrrat-go/jwx/v2 v2.0.12
github.com/mattn/go-sqlite3 v1.14.16
github.com/lestrrat-go/jwx/v2 v2.1.1
github.com/mattn/go-sqlite3 v1.14.23
github.com/oklog/ulid/v2 v2.1.0
github.com/prometheus/client_golang v1.16.0
github.com/rotationalio/confire v1.0.0
github.com/rotationalio/go-ensign v0.9.1
github.com/rs/zerolog v1.30.0
github.com/prometheus/client_golang v1.20.3
github.com/rotationalio/confire v1.1.0
github.com/rotationalio/go-ensign v0.12.0
github.com/rs/zerolog v1.33.0
github.com/sendgrid/rest v2.6.9+incompatible
github.com/sendgrid/sendgrid-go v3.13.0+incompatible
github.com/stretchr/testify v1.8.4
github.com/sendgrid/sendgrid-go v3.16.0+incompatible
github.com/stretchr/testify v1.9.0
github.com/syndtr/goleveldb v1.0.0
github.com/trisacrypto/directory v1.7.4
github.com/trisacrypto/directory v1.8.1
github.com/twmb/murmur3 v1.1.8
github.com/urfave/cli/v2 v2.25.7
github.com/vmihailenco/msgpack/v5 v5.3.5
golang.org/x/crypto v0.13.0
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
golang.org/x/net v0.15.0
golang.org/x/text v0.13.0
golang.org/x/time v0.3.0
google.golang.org/grpc v1.58.2
google.golang.org/protobuf v1.31.0
github.com/urfave/cli/v2 v2.27.4
github.com/vmihailenco/msgpack/v5 v5.4.1
golang.org/x/crypto v0.27.0
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/net v0.29.0
golang.org/x/text v0.18.0
golang.org/x/time v0.6.0
google.golang.org/grpc v1.66.2
google.golang.org/protobuf v1.34.2
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/DataDog/zstd v1.5.5 // indirect
github.com/PuerkitoBio/rehttp v1.2.0 // indirect
github.com/auth0/go-auth0 v0.17.2 // indirect
github.com/DataDog/zstd v1.5.6 // indirect
github.com/PuerkitoBio/rehttp v1.4.0 // indirect
github.com/auth0/go-auth0 v1.10.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.10.0 // indirect
github.com/bytedance/sonic v1.10.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/cockroachdb/errors v1.11.1 // indirect
github.com/bits-and-blooms/bitset v1.14.3 // indirect
github.com/bytedance/sonic v1.12.2 // indirect
github.com/bytedance/sonic/loader v0.2.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/cockroachdb/errors v1.11.3 // indirect
github.com/cockroachdb/fifo v0.0.0-20240816210425-c5d0cb0b6fc0 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/pebble v0.0.0-20230922034545-d038189d72d9 // indirect
github.com/cockroachdb/pebble v1.1.2 // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.5 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.15.4 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/go-playground/validator/v10 v10.22.1 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/gosimple/unidecode v1.0.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/lestrrat-go/blackmagic v1.0.2 // indirect
github.com/lestrrat-go/httpcc v1.0.1 // indirect
github.com/lestrrat-go/httprc v1.0.4 // indirect
github.com/lestrrat-go/httprc v1.0.6 // indirect
github.com/lestrrat-go/iter v1.0.2 // indirect
github.com/lestrrat-go/option v1.0.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.59.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/rotationalio/honu v0.4.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/shibukawa/configdir v0.0.0-20170330084843-e180dbdc8da0 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/trisacrypto/trisa v0.4.0 // indirect
github.com/trisacrypto/lei v1.0.0 // indirect
github.com/trisacrypto/trisa v1.4.1 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
golang.org/x/arch v0.5.0 // indirect
golang.org/x/oauth2 v0.12.0 // indirect
golang.org/x/sys v0.12.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
golang.org/x/arch v0.10.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sys v0.25.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
software.sslmate.com/src/go-pkcs12 v0.2.1 // indirect
software.sslmate.com/src/go-pkcs12 v0.5.0 // indirect
)
Loading

0 comments on commit 5ad6c3c

Please sign in to comment.