Skip to content

Commit 57259fe

Browse files
authored
Merge pull request #31 from elfranne/modupt
update go and modules
2 parents 644590b + 684a04f commit 57259fe

File tree

6 files changed

+143
-121
lines changed

6 files changed

+143
-121
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Go Lint
2+
permissions:
3+
contents: read
24

35
on: [push]
46

@@ -11,10 +13,10 @@ jobs:
1113
os: [ubuntu-latest]
1214
steps:
1315
- name: Checkout code
14-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1517
- name: Set up Go
1618
uses: actions/setup-go@v5
1719
with:
1820
go-version-file: 'go.mod'
1921
- name: Run golangci-lint
20-
uses: golangci/golangci-lint-action@v6
22+
uses: golangci/golangci-lint-action@v8

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
name: goreleaser
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- '*'
78

89
jobs:
910
goreleaser:
11+
permissions:
12+
contents: write
1013
runs-on: ubuntu-latest
1114
steps:
1215
- name: Checkout code
13-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1417
- name: Unshallow
1518
run: git fetch --prune --unshallow
1619
- name: Set up Go

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Go Test
2+
permissions:
3+
contents: read
24

35
on: [push]
46

@@ -11,7 +13,7 @@ jobs:
1113
os: [macos-latest, windows-latest, ubuntu-latest]
1214
steps:
1315
- name: Checkout code
14-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1517
- name: Set up Go
1618
uses: actions/setup-go@v5
1719
with:

go.mod

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,57 @@
11
module github.com/elfranne/sensu-etcd-check
22

3-
go 1.23.4
3+
go 1.24.6
44

55
require (
66
github.com/sensu/core/v2 v2.20.0
77
github.com/sensu/sensu-plugin-sdk v0.19.0
8-
go.etcd.io/etcd/client/pkg/v3 v3.5.17
9-
go.etcd.io/etcd/client/v3 v3.5.17
8+
go.etcd.io/etcd/client/pkg/v3 v3.6.4
9+
go.etcd.io/etcd/client/v3 v3.6.4
1010
)
1111

1212
require (
1313
github.com/blang/semver/v4 v4.0.0 // indirect
1414
github.com/coreos/go-semver v0.3.1 // indirect
15-
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
15+
github.com/coreos/go-systemd/v22 v22.6.0 // indirect
1616
github.com/echlebek/timeproxy v1.0.0 // indirect
17-
github.com/fsnotify/fsnotify v1.8.0 // indirect
17+
github.com/fsnotify/fsnotify v1.9.0 // indirect
18+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
1819
github.com/gogo/protobuf v1.3.2 // indirect
19-
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
20+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
2021
github.com/golang/protobuf v1.5.4 // indirect
21-
github.com/google/go-cmp v0.6.0 // indirect
22+
github.com/google/go-cmp v0.7.0 // indirect
2223
github.com/google/uuid v1.6.0 // indirect
24+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
2325
github.com/hashicorp/hcl v1.0.0 // indirect
2426
github.com/inconshreveable/mousetrap v1.1.0 // indirect
25-
github.com/magiconair/properties v1.8.9 // indirect
27+
github.com/magiconair/properties v1.8.10 // indirect
2628
github.com/mitchellh/mapstructure v1.5.0 // indirect
2729
github.com/pelletier/go-toml v1.9.5 // indirect
28-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
30+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
2931
github.com/robertkrimen/otto v0.5.1 // indirect
3032
github.com/robfig/cron/v3 v3.0.1 // indirect
31-
github.com/sagikazarmark/locafero v0.7.0 // indirect
32-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
33+
github.com/sagikazarmark/locafero v0.10.0 // indirect
3334
github.com/sensu/sensu-api-tools v0.2.1 // indirect
3435
github.com/sensu/sensu-licensing/v2 v2.2.1 // indirect
3536
github.com/sirupsen/logrus v1.9.3 // indirect
36-
github.com/sourcegraph/conc v0.3.0 // indirect
37-
github.com/spf13/afero v1.12.0 // indirect
38-
github.com/spf13/cast v1.7.1 // indirect
39-
github.com/spf13/cobra v1.8.1 // indirect
37+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
38+
github.com/spf13/afero v1.14.0 // indirect
39+
github.com/spf13/cast v1.9.2 // indirect
40+
github.com/spf13/cobra v1.10.1 // indirect
4041
github.com/spf13/jwalterweatherman v1.1.0 // indirect
41-
github.com/spf13/pflag v1.0.5 // indirect
42-
github.com/spf13/viper v1.19.0 // indirect
42+
github.com/spf13/pflag v1.0.10 // indirect
43+
github.com/spf13/viper v1.20.1 // indirect
4344
github.com/subosito/gotenv v1.6.0 // indirect
44-
go.etcd.io/etcd/api/v3 v3.5.17 // indirect
45-
go.uber.org/atomic v1.11.0 // indirect
45+
go.etcd.io/etcd/api/v3 v3.6.4 // indirect
4646
go.uber.org/multierr v1.11.0 // indirect
4747
go.uber.org/zap v1.27.0 // indirect
48-
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
49-
golang.org/x/net v0.34.0 // indirect
50-
golang.org/x/sys v0.29.0 // indirect
51-
golang.org/x/text v0.21.0 // indirect
52-
google.golang.org/genproto v0.0.0-20250106144421-5f5ef82da422 // indirect
53-
google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect
54-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect
55-
google.golang.org/grpc v1.69.2 // indirect
56-
google.golang.org/protobuf v1.36.2 // indirect
48+
golang.org/x/net v0.43.0 // indirect
49+
golang.org/x/sys v0.35.0 // indirect
50+
golang.org/x/text v0.28.0 // indirect
51+
google.golang.org/genproto/googleapis/api v0.0.0-20250826171959-ef028d996bc1 // indirect
52+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250826171959-ef028d996bc1 // indirect
53+
google.golang.org/grpc v1.75.0 // indirect
54+
google.golang.org/protobuf v1.36.8 // indirect
5755
gopkg.in/ini.v1 v1.67.0 // indirect
5856
gopkg.in/sourcemap.v1 v1.0.5 // indirect
5957
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)