Skip to content

Commit 5bd1f9d

Browse files
authored
Merge pull request #30 from elfranne/modulesandwf
update modules and workflows actions
2 parents d542c78 + add4e73 commit 5bd1f9d

File tree

5 files changed

+133
-36
lines changed

5 files changed

+133
-36
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
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,7 +13,7 @@ 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:

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88

99
jobs:
1010
goreleaser:
11+
permissions:
12+
contents: write
1113
runs-on: ubuntu-latest
1214
steps:
1315
- name: Checkout code
14-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1517
- name: Unshallow
1618
run: git fetch --prune --unshallow
1719
- 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: 41 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,46 +12,54 @@ require (
1212
github.com/blang/semver/v4 v4.0.0 // indirect
1313
github.com/coreos/go-semver v0.3.1 // indirect
1414
github.com/echlebek/timeproxy v1.0.0 // indirect
15-
github.com/fsnotify/fsnotify v1.4.7 // indirect
16-
github.com/go-ole/go-ole v1.2.6 // indirect
15+
github.com/fsnotify/fsnotify v1.9.0 // indirect
16+
github.com/go-ole/go-ole v1.3.0 // indirect
17+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
1718
github.com/gogo/protobuf v1.3.2 // indirect
18-
github.com/golang-jwt/jwt/v4 v4.4.3 // indirect
19-
github.com/golang/protobuf v1.5.3 // indirect
20-
github.com/google/go-cmp v0.6.0 // indirect
21-
github.com/google/uuid v1.3.1 // indirect
19+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
20+
github.com/golang/protobuf v1.5.4 // indirect
21+
github.com/google/go-cmp v0.7.0 // indirect
22+
github.com/google/uuid v1.6.0 // indirect
23+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
2224
github.com/hashicorp/hcl v1.0.0 // indirect
23-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
24-
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
25-
github.com/magiconair/properties v1.8.1 // indirect
26-
github.com/mitchellh/mapstructure v1.1.2 // indirect
27-
github.com/pelletier/go-toml v1.2.0 // indirect
28-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
29-
github.com/robertkrimen/otto v0.0.0-20221006114523-201ab5b34f52 // indirect
25+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
26+
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
27+
github.com/magiconair/properties v1.8.10 // indirect
28+
github.com/mitchellh/mapstructure v1.5.0 // indirect
29+
github.com/pelletier/go-toml v1.9.5 // indirect
30+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
31+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
32+
github.com/robertkrimen/otto v0.5.1 // indirect
3033
github.com/robfig/cron/v3 v3.0.1 // indirect
31-
github.com/sensu/sensu-api-tools v0.1.0 // indirect
34+
github.com/sagikazarmark/locafero v0.10.0 // indirect
35+
github.com/sensu/sensu-api-tools v0.2.1 // indirect
3236
github.com/sensu/sensu-licensing/v2 v2.2.1 // indirect
3337
github.com/shoenig/go-m1cpu v0.1.6 // indirect
3438
github.com/sirupsen/logrus v1.9.3 // indirect
35-
github.com/spf13/afero v1.1.2 // indirect
36-
github.com/spf13/cast v1.3.0 // indirect
37-
github.com/spf13/cobra v1.4.0 // indirect
38-
github.com/spf13/jwalterweatherman v1.0.0 // indirect
39-
github.com/spf13/pflag v1.0.5 // indirect
40-
github.com/spf13/viper v1.7.0 // indirect
41-
github.com/subosito/gotenv v1.2.0 // indirect
42-
github.com/tklauser/go-sysconf v0.3.12 // indirect
43-
github.com/tklauser/numcpus v0.6.1 // indirect
39+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
40+
github.com/spf13/afero v1.14.0 // indirect
41+
github.com/spf13/cast v1.9.2 // indirect
42+
github.com/spf13/cobra v1.9.1 // indirect
43+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
44+
github.com/spf13/pflag v1.0.7 // indirect
45+
github.com/spf13/viper v1.20.1 // indirect
46+
github.com/subosito/gotenv v1.6.0 // indirect
47+
github.com/tklauser/go-sysconf v0.3.15 // indirect
48+
github.com/tklauser/numcpus v0.10.0 // indirect
4449
github.com/yusufpapurcu/wmi v1.2.4 // indirect
45-
go.etcd.io/etcd/api/v3 v3.5.10 // indirect
46-
golang.org/x/net v0.17.0 // indirect
47-
golang.org/x/sys v0.20.0 // indirect
48-
golang.org/x/text v0.13.0 // indirect
49-
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect
50-
google.golang.org/genproto/googleapis/api v0.0.0-20231030173426-d783a09b4405 // indirect
51-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
52-
google.golang.org/grpc v1.59.0 // indirect
53-
google.golang.org/protobuf v1.31.0 // indirect
54-
gopkg.in/ini.v1 v1.51.0 // indirect
50+
go.etcd.io/etcd/api/v3 v3.6.4 // indirect
51+
go.uber.org/atomic v1.11.0 // indirect
52+
go.uber.org/multierr v1.11.0 // indirect
53+
golang.org/x/net v0.43.0 // indirect
54+
golang.org/x/sys v0.35.0 // indirect
55+
golang.org/x/text v0.28.0 // indirect
56+
google.golang.org/genproto v0.0.0-20250818200422-3122310a409c // indirect
57+
google.golang.org/genproto/googleapis/api v0.0.0-20250818200422-3122310a409c // indirect
58+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c // indirect
59+
google.golang.org/grpc v1.74.2 // indirect
60+
google.golang.org/protobuf v1.36.7 // indirect
61+
gopkg.in/ini.v1 v1.67.0 // indirect
5562
gopkg.in/sourcemap.v1 v1.0.5 // indirect
5663
gopkg.in/yaml.v2 v2.4.0 // indirect
64+
gopkg.in/yaml.v3 v3.0.1 // indirect
5765
)

0 commit comments

Comments
 (0)