diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3564876..eec7f82 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -7,7 +7,6 @@ on: branches: [ "master" ] jobs: - build: runs-on: macos-latest steps: @@ -16,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.13 + go-version: 1.21 - name: Build run: go build -v ./... diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index bf4eacb..1d777f9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -7,7 +7,6 @@ on: branches: [ "master" ] jobs: - build: runs-on: ubuntu-latest steps: @@ -16,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.21 - name: Build run: go build -v ./... diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c460e60..ab8f8f4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,7 +7,6 @@ on: branches: [ "master" ] jobs: - build: runs-on: windows-latest steps: @@ -16,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.21 - name: Build run: go build -v ./... diff --git a/go.mod b/go.mod index a22f3d5..8f59404 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/pin/tftp/v3 -go 1.13 +go 1.18 -require golang.org/x/net v0.0.0-20200202094626-16171245cfb2 +require golang.org/x/net v0.15.0 + +require golang.org/x/sys v0.13.0 // indirect diff --git a/go.sum b/go.sum index e58bf9c..d33ceb0 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= +golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=