Skip to content

Commit 9f2d04e

Browse files
authored
chore: update deps and go (#1805)
* chore: update deps * chore/update-go-1-25 * chore: update some deps and code
1 parent f3db3fa commit 9f2d04e

File tree

14 files changed

+150
-154
lines changed

14 files changed

+150
-154
lines changed

.github/actions/linux-build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apt-get update && \
1818
apt-get update && \
1919
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin git gcc-aarch64-linux-gnu g++-aarch64-linux-gnu && \
2020
\
21-
wget --output-document=/tmp/go.tar.gz https://go.dev/dl/go1.21.0.linux-amd64.tar.gz && \
21+
wget --output-document=/tmp/go.tar.gz https://go.dev/dl/go1.25.0.linux-amd64.tar.gz && \
2222
tar --extract --gunzip --file=/tmp/go.tar.gz --directory=/usr/local && \
2323
ln -s /usr/local/go/bin/go /usr/local/bin/ && \
2424
\

.github/workflows/canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Set up Go
7878
uses: actions/setup-go@v5
7979
with:
80-
go-version: 1.21
80+
go-version: 1.25.0
8181
- name: Setup Gon
8282
run: brew install Bearer/tap/gon
8383
- name: Import Code-Signing Certificates

.github/workflows/command_doc_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.21
22+
go-version: 1.25.0
2323
- name: Generate command docs
2424
run: go run ./scripts/gen-doc-yaml.go
2525
- name: Setup Node

.github/workflows/e2e_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.21
24+
go-version: 1.25.0
2525
- name: Build binary for integration tests
2626
run: go build -a ./cmd/bearer/bearer.go
2727
- name: Run tests

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
steps:
2525
- uses: actions/setup-go@v5
2626
with:
27-
go-version: 1.21
27+
go-version: 1.25.0
2828
- uses: actions/checkout@v4
2929
- name: golangci-lint
30-
uses: golangci/golangci-lint-action@v6
30+
uses: golangci/golangci-lint-action@v8
3131
with:
3232
version: latest
3333
args: --timeout=3m

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Set up Go
8282
uses: actions/setup-go@v5
8383
with:
84-
go-version: 1.21
84+
go-version: 1.25.0
8585
- name: Setup Gon
8686
run: brew install Bearer/tap/gon
8787
- name: Import Code-Signing Certificates

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: 1.21
25+
go-version: 1.25.0
2626
- name: Run package tests
2727
run: go test -v ./pkg/...

.github/workflows/version_comparison.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Go
2828
uses: actions/setup-go@v5
2929
with:
30-
go-version: 1.21
30+
go-version: 1.25.0
3131
- id: cache_key
3232
name: Create cache key
3333
run: |

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20
1+
FROM golang:1.25.0
22

33
RUN apt update
44
RUN apt install jq -y

go.mod

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bearer/bearer
22

3-
go 1.21
3+
go 1.25.0
44

55
require (
66
github.com/bits-and-blooms/bitset v1.15.0
@@ -14,31 +14,30 @@ require (
1414
github.com/google/go-github v17.0.0+incompatible
1515
github.com/google/uuid v1.6.0
1616
github.com/hhatto/gocloc v0.5.3
17-
github.com/onsi/ginkgo/v2 v2.20.0
18-
github.com/onsi/gomega v1.34.1
19-
github.com/open-policy-agent/opa v0.70.0
17+
github.com/onsi/ginkgo/v2 v2.23.4
18+
github.com/onsi/gomega v1.38.0
19+
github.com/open-policy-agent/opa v1.4.0
2020
github.com/rodaine/table v1.3.0
21-
github.com/rs/zerolog v1.33.0
21+
github.com/rs/zerolog v1.34.0
2222
github.com/russross/blackfriday v1.6.0
2323
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
24-
github.com/schollz/progressbar/v3 v3.14.6
24+
github.com/schollz/progressbar/v3 v3.18.0
2525
github.com/shirou/gopsutil/v3 v3.24.5
2626
github.com/smacker/go-tree-sitter v0.0.0-20230720070738-0d0a9f78d8f8
27-
github.com/stretchr/testify v1.9.0
27+
github.com/stretchr/testify v1.10.0
2828
github.com/tangzero/inflector v1.0.0
2929
github.com/weppos/publicsuffix-go v0.40.2
3030
github.com/xeipuuv/gojsonschema v1.2.0
3131
github.com/zricethezav/gitleaks/v8 v8.18.1
3232
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
33-
golang.org/x/mod v0.20.0
34-
golang.org/x/net v0.35.0
35-
golang.org/x/oauth2 v0.26.0
33+
golang.org/x/mod v0.25.0
34+
golang.org/x/net v0.41.0
35+
golang.org/x/oauth2 v0.27.0
3636
sigs.k8s.io/yaml v1.4.0
3737
)
3838

3939
require (
40-
github.com/OneOfOne/xxhash v1.2.8 // indirect
41-
github.com/agnivade/levenshtein v1.2.0 // indirect
40+
github.com/agnivade/levenshtein v1.2.1 // indirect
4241
github.com/charmbracelet/lipgloss v0.6.0 // indirect
4342
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
4443
github.com/fatih/semgroup v1.2.0 // indirect
@@ -57,69 +56,70 @@ require (
5756
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5857
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
5958
github.com/rivo/uniseg v0.4.7 // indirect
60-
github.com/tchap/go-patricia/v2 v2.3.1 // indirect
59+
github.com/tchap/go-patricia/v2 v2.3.2 // indirect
6160
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
6261
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
6362
github.com/yashtewari/glob-intersection v0.2.0 // indirect
64-
golang.org/x/sync v0.11.0 // indirect
65-
golang.org/x/term v0.29.0 // indirect
63+
golang.org/x/sync v0.15.0 // indirect
64+
golang.org/x/term v0.32.0 // indirect
6665
)
6766

6867
require (
6968
github.com/BobuSumisu/aho-corasick v1.0.3 // indirect
7069
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
7170
github.com/beorn7/perks v1.0.1 // indirect
7271
github.com/cespare/xxhash/v2 v2.3.0 // indirect
73-
github.com/fsnotify/fsnotify v1.7.0 // indirect
72+
github.com/fsnotify/fsnotify v1.8.0 // indirect
7473
github.com/go-ini/ini v1.67.0 // indirect
7574
github.com/go-logr/logr v1.4.2 // indirect
7675
github.com/go-logr/stdr v1.2.2 // indirect
7776
github.com/go-ole/go-ole v1.2.6 // indirect
7877
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
79-
github.com/google/flatbuffers v2.0.8+incompatible // indirect
80-
github.com/google/go-cmp v0.6.0 // indirect
78+
github.com/google/go-cmp v0.7.0 // indirect
8179
github.com/google/go-querystring v1.1.0 // indirect
82-
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
80+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
8381
github.com/gorilla/mux v1.8.1 // indirect
8482
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
8583
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
8684
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
87-
github.com/prometheus/client_golang v1.20.5 // indirect
85+
github.com/prometheus/client_golang v1.21.1 // indirect
8886
github.com/prometheus/client_model v0.6.1 // indirect
89-
github.com/prometheus/common v0.55.0 // indirect
87+
github.com/prometheus/common v0.62.0 // indirect
9088
github.com/prometheus/procfs v0.15.1 // indirect
91-
github.com/sagikazarmark/locafero v0.4.0 // indirect
89+
github.com/sagikazarmark/locafero v0.7.0 // indirect
9290
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
9391
github.com/shoenig/go-m1cpu v0.1.6 // indirect
9492
github.com/sirupsen/logrus v1.9.3 // indirect
9593
github.com/sourcegraph/conc v0.3.0 // indirect
9694
github.com/tklauser/go-sysconf v0.3.12 // indirect
9795
github.com/tklauser/numcpus v0.6.1 // indirect
9896
github.com/yusufpapurcu/wmi v1.2.4 // indirect
99-
go.opentelemetry.io/otel v1.28.0 // indirect
100-
go.opentelemetry.io/otel/metric v1.28.0 // indirect
101-
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
102-
go.opentelemetry.io/otel/trace v1.28.0 // indirect
97+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
98+
go.opentelemetry.io/otel v1.35.0 // indirect
99+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
100+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
101+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
103102
go.uber.org/atomic v1.9.0 // indirect
103+
go.uber.org/automaxprocs v1.6.0 // indirect
104104
go.uber.org/multierr v1.9.0 // indirect
105-
golang.org/x/tools v0.24.0 // indirect
106-
google.golang.org/protobuf v1.34.2 // indirect
105+
golang.org/x/tools v0.33.0 // indirect
106+
google.golang.org/protobuf v1.36.6 // indirect
107107
)
108108

109109
require (
110110
github.com/hashicorp/hcl v1.0.0 // indirect
111111
github.com/magiconair/properties v1.8.7 // indirect
112112
github.com/mitchellh/mapstructure v1.5.0
113113
github.com/pelletier/go-toml v1.9.5
114-
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
115-
github.com/spf13/afero v1.11.0 // indirect
116-
github.com/spf13/cast v1.6.0 // indirect
114+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
115+
github.com/spf13/afero v1.12.0 // indirect
116+
github.com/spf13/cast v1.7.1 // indirect
117117
github.com/spf13/cobra v1.9.1
118118
github.com/spf13/pflag v1.0.6
119-
github.com/spf13/viper v1.18.2
119+
github.com/spf13/viper v1.20.1
120120
github.com/subosito/gotenv v1.6.0 // indirect
121-
golang.org/x/sys v0.30.0 // indirect
122-
golang.org/x/text v0.22.0 // indirect
121+
golang.org/x/sys v0.33.0 // indirect
122+
golang.org/x/text v0.26.0 // indirect
123123
gopkg.in/ini.v1 v1.67.0 // indirect
124124
gopkg.in/yaml.v2 v2.4.0
125125
gopkg.in/yaml.v3 v3.0.1

0 commit comments

Comments
 (0)