diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4637ad3..10f454a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,12 +6,12 @@ jobs: test: name: Test runs-on: ${{ matrix.os }} - + strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - go: ['1.18.x', '1.22.x'] - + go: ['1.18.x', '1.23.x'] + steps: - name: Check out code into the Go module directory @@ -25,7 +25,7 @@ jobs: - name: Vet run: go vet -v ./... - + - name: Test run: go test -race -v -coverprofile='coverage.txt' -covermode=atomic ./... diff --git a/go.mod b/go.mod index ee66b6c..aaae0a6 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ require ( github.com/issue9/assert/v4 v4.3.0 github.com/issue9/errwrap v0.3.2 github.com/issue9/sliceutil v0.16.1 - golang.org/x/sys v0.20.0 + golang.org/x/sys v0.24.0 ) go 1.18 diff --git a/go.sum b/go.sum index 545763f..4b483bf 100644 --- a/go.sum +++ b/go.sum @@ -4,5 +4,5 @@ github.com/issue9/errwrap v0.3.2 h1:7KEme9Pfe75M+sIMcPCn/DV90wjnOcRbO4DXVAHj3Fw= github.com/issue9/errwrap v0.3.2/go.mod h1:KcCLuUGiffjooLCUjL89r1cyO8/HT/VRcQrneO53N3A= github.com/issue9/sliceutil v0.16.1 h1:NVZ2feN014oUmMpZvZUrKkKMGhAfzT8WNzJF81krebM= github.com/issue9/sliceutil v0.16.1/go.mod h1:ldun6sT4/bOJxuMtOXhtc6P7GCwE7L+avV86HNks7qk= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= +golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=