Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go 1.24
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "1.24"
cache: true
Expand All @@ -27,7 +27,7 @@ jobs:
run: |
make build-release
- name: Create release and add artifacts
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
dist/*.tar.gz
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,26 @@ jobs:
test:
name: Test gatewayd-plugin-cache
runs-on: ubuntu-latest
# Timeout after 5 minutes, to avoid hanging tests
timeout-minutes: 5
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Go 🧑‍💻
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "1.24"

- name: Lint code issues 🚨
uses: golangci/golangci-lint-action@v6

- name: Run govulncheck 🔒
uses: golang/govulncheck-action@v1
with:
go-version-input: "1.24"

- name: Run Go tests 🔬
run: go test -cover -covermode atomic -coverprofile=profile.cov -v ./...

Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ linters-settings:
- "github.com/prometheus/client_golang"
- "github.com/hashicorp/go-plugin"
- "github.com/hashicorp/go-hclog"
- "github.com/go-redis/redis/v8"
- "github.com/redis/go-redis/v9"
- "github.com/getsentry/sentry-go"
- "github.com/spf13/cast"
- "github.com/go-co-op/gocron"
Expand Down
50 changes: 25 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
module github.com/gatewayd-io/gatewayd-plugin-cache

go 1.24
go 1.24.0

require (
github.com/alicebob/miniredis/v2 v2.35.0
github.com/gatewayd-io/gatewayd v0.10.2
github.com/gatewayd-io/gatewayd-plugin-sdk v0.4.3
github.com/getsentry/sentry-go v0.35.0
github.com/alicebob/miniredis/v2 v2.36.1
github.com/gatewayd-io/gatewayd v0.11.0
github.com/gatewayd-io/gatewayd-plugin-sdk v0.4.4
github.com/getsentry/sentry-go v0.42.0
github.com/go-co-op/gocron v1.37.0
github.com/go-redis/redis/v8 v8.11.5
github.com/hashicorp/go-hclog v1.6.3
github.com/hashicorp/go-plugin v1.6.3
github.com/jackc/pgx/v5 v5.7.5
github.com/prometheus/client_golang v1.23.0
github.com/spf13/cast v1.9.2
github.com/stretchr/testify v1.10.0
github.com/hashicorp/go-plugin v1.7.0
github.com/jackc/pgx/v5 v5.8.0
github.com/prometheus/client_golang v1.23.2
github.com/redis/go-redis/v9 v9.18.0
github.com/spf13/cast v1.10.0
github.com/stretchr/testify v1.11.1
github.com/zenizh/go-capturer v0.0.0-20211219060012-52ea6c8fed04
google.golang.org/grpc v1.74.2
google.golang.org/protobuf v1.36.7
google.golang.org/grpc v1.79.1
google.golang.org/protobuf v1.36.11
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/expr-lang/expr v1.17.5 // indirect
github.com/expr-lang/expr v1.17.8 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.8 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/onsi/gomega v1.34.1 // indirect
github.com/pganalyze/pg_query_go/v6 v6.1.0 // indirect
github.com/pganalyze/pg_query_go/v6 v6.2.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.65.0 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
github.com/redis/go-redis/v9 v9.12.0 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/rogpeppe/go-internal v1.14.1 // indirect
github.com/rs/zerolog v1.34.0 // indirect
github.com/tetratelabs/wazero v1.9.0 // indirect
github.com/wasilibs/go-pgquery v0.0.0-20250409022910-10ac41983c07 // indirect
github.com/wasilibs/wazero-helpers v0.0.0-20250123031827-cd30c44769bb // indirect
github.com/yuin/gopher-lua v1.1.1 // indirect
go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/net v0.40.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.25.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
golang.org/x/net v0.49.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/text v0.34.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading
Loading