Skip to content

Commit 9094216

Browse files
committed
Bump golang.org/x/net to v0.45.0 to fix vulnerability
1 parent aba082a commit 9094216

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
go: [1.19.x, 1.x]
10+
go: [1.24.x, 1.x]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- name: Install Go ${{ matrix.go }}
15-
uses: actions/setup-go@v5
15+
uses: actions/setup-go@v6
1616
with:
1717
go-version: ${{ matrix.go }}
1818
- name: Checkout code
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222
- name: Vet
@@ -27,4 +27,7 @@ jobs:
2727
staticcheck ./...
2828
- name: Test
2929
run: go test -v -race ./...
30-
30+
- name: Govulncheck
31+
run: |
32+
go install golang.org/x/vuln/cmd/govulncheck@latest
33+
govulncheck ./...

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/microcosm-cc/bluemonday
22

3-
go 1.19
3+
go 1.24.0
44

55
require (
66
github.com/aymerick/douceur v0.2.0
7-
golang.org/x/net v0.26.0
7+
golang.org/x/net v0.45.0
88
)
99

1010
require github.com/gorilla/css v1.0.1 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuP
22
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
33
github.com/gorilla/css v1.0.1 h1:ntNaBIghp6JmvWnxbZKANoLyuXTPZ4cAMlo6RyhlbO8=
44
github.com/gorilla/css v1.0.1/go.mod h1:BvnYkspnSzMmwRK+b8/xgNPLiIuNZr6vbZBTPQ2A3b0=
5-
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
6-
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
5+
golang.org/x/net v0.45.0 h1:RLBg5JKixCy82FtLJpeNlVM0nrSqpCRYzVU1n8kj0tM=
6+
golang.org/x/net v0.45.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY=

0 commit comments

Comments
 (0)