From 1db45a821d2b567ce4b5f55996686551ee33275b Mon Sep 17 00:00:00 2001 From: MURAOKA Taro Date: Tue, 17 Oct 2023 22:59:50 +0900 Subject: [PATCH 1/2] upgrade x/net and Go for vulnerabilities --- go.mod | 6 +++--- go.sum | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 9441f8c..f3baf60 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/koron/go-ssdp -go 1.19 +go 1.20 -require golang.org/x/net v0.7.0 +require golang.org/x/net v0.17.0 -require golang.org/x/sys v0.5.0 // indirect +require golang.org/x/sys v0.13.0 // indirect diff --git a/go.sum b/go.sum index c39cfd0..7b00fe3 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 1738f390efaf964b591f787ea9f9bac1dc5b240f Mon Sep 17 00:00:00 2001 From: MURAOKA Taro Date: Tue, 17 Oct 2023 23:02:54 +0900 Subject: [PATCH 2/2] update doc and GH action --- .github/workflows/go.yml | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ec36f38..1c9f286 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,11 +13,11 @@ jobs: os: [ ubuntu-latest, macos-latest, windows-latest ] steps: - - uses: actions/setup-go@v3 - with: - go-version: 1.x + - uses: actions/checkout@v4 - - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '>=1.20.10' - run: go test diff --git a/README.md b/README.md index 6576a48..b2db51a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SSDP library -[![GoDoc](https://godoc.org/github.com/koron/go-ssdp?status.svg)](https://godoc.org/github.com/koron/go-ssdp) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/koron-go/go-ssdp)](https://pkg.go.dev/github.com/koron-go/go-ssdp) [![Actions/Go](https://github.com/koron/go-ssdp/workflows/Go/badge.svg)](https://github.com/koron/go-ssdp/actions?query=workflow%3AGo) [![Go Report Card](https://goreportcard.com/badge/github.com/koron/go-ssdp)](https://goreportcard.com/report/github.com/koron/go-ssdp)