Skip to content

Commit a4f8529

Browse files
authoredMar 9, 2022
Update golang.org/x/crypto, update to go1.17, update GitHub Actions & Go modules (#37)
This should address #36 primarily by updating the golang.org/x/crypto dependency. In order to address some other GitHub actions blockers, we also update the GitHub Actions config and update to go1.17.
1 parent 66c9c0d commit a4f8529

File tree

3 files changed

+36
-19
lines changed

3 files changed

+36
-19
lines changed
 

‎.github/workflows/go.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99

10-
- name: Set up Go 1.13
11-
uses: actions/setup-go@v1
10+
- name: Set up Go 1.17
11+
uses: actions/setup-go@v2
1212
with:
13-
go-version: 1.13
13+
go-version: 1.17
1414
id: go
15-
16-
- name: setup env
17-
# Temporary fix from
18-
# https://github.com/actions/setup-go/issues/12
19-
# https://github.com/actions/setup-go/issues/14
20-
run: |
21-
echo "##[set-env name=GOPATH;]$(dirname $GITHUB_WORKSPACE)"
22-
echo "##[add-path]$(dirname $GITHUB_WORKSPACE)/bin"
23-
shell: bash
2415

2516
- name: Check out code into the Go module directory
2617
uses: actions/checkout@v1

‎go.mod

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
module github.com/suyashkumar/ssl-proxy
22

3-
go 1.13
3+
go 1.17
44

55
require (
6-
github.com/davecgh/go-spew v1.1.1
7-
github.com/pmezard/go-difflib v1.0.0
8-
github.com/stretchr/testify v1.2.2
9-
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
10-
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
11-
golang.org/x/text v0.3.2
6+
github.com/stretchr/testify v1.7.0
7+
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70
8+
)
9+
10+
require (
11+
github.com/davecgh/go-spew v1.1.0 // indirect
12+
github.com/pmezard/go-difflib v1.0.0 // indirect
13+
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
14+
golang.org/x/text v0.3.6 // indirect
15+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
1216
)

‎go.sum

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
2+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
6+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
7+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
8+
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 h1:syTAU9FwmvzEoIYMqcPHOcVm4H3U5u90WsvuYgwpETU=
9+
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
10+
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 h1:CIJ76btIcR3eFI5EgSo6k1qKw9KJexJuRLI9G7Hp5wE=
11+
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
12+
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
13+
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
14+
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
15+
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
16+
golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
17+
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
18+
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
19+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
20+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
21+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
22+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)