This repository was archived by the owner on Apr 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +26
-27
lines changed Expand file tree Collapse file tree 7 files changed +26
-27
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : install Go
13
- uses : actions/setup-go@v2
13
+ uses : actions/setup-go@v3
14
14
with :
15
- go-version : ' 1.18'
15
+ go-version : ' 1.18.1 '
16
16
17
17
- name : Install TinyGo
18
18
run : |
26
26
run : make build.examples
27
27
28
28
- name : Login to GitHub Container Registry
29
- uses : docker/login-action@v1
29
+ uses : docker/login-action@v2
30
30
with :
31
31
registry : ghcr.io
32
32
username : ${{ github.repository_owner }}
Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : install Go
16
- uses : actions/setup-go@v2
16
+ uses : actions/setup-go@v3
17
17
with :
18
- go-version : ' 1.18'
18
+ go-version : ' 1.18.1 '
19
19
20
20
- name : checkout
21
21
uses : actions/checkout@v3
31
31
runs-on : ubuntu-latest
32
32
steps :
33
33
- name : install Go
34
- uses : actions/setup-go@v2
34
+ uses : actions/setup-go@v3
35
35
with :
36
- go-version : ' 1.18'
36
+ go-version : ' 1.18.1 '
37
37
38
38
- name : checkout
39
39
uses : actions/checkout@v3
59
59
60
60
- name : Install Go
61
61
if : steps.cache-built-examples.outputs.cache-hit != 'true'
62
- uses : actions/setup-go@v2
62
+ uses : actions/setup-go@v3
63
63
with :
64
- go-version : ' 1.18'
64
+ go-version : ' 1.18.1 '
65
65
66
66
# TinyGo's release container does not have Make command.
67
67
- name : Install Make
94
94
options : --privileged
95
95
steps :
96
96
- name : Install Go
97
- uses : actions/setup-go@v2
97
+ uses : actions/setup-go@v3
98
98
with :
99
- go-version : ' 1.18'
99
+ go-version : ' 1.18.1 '
100
100
101
101
- name : Print Envoy version
102
102
run : envoy --version
Original file line number Diff line number Diff line change 1
- goimports := golang.org/x/tools/cmd/
[email protected] .
5
2
- golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0
1
+ goimports := golang.org/x/tools/cmd/
[email protected] .
10
2
+ golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
3
3
4
4
.PHONY : build.example
5
5
build.example :
@@ -15,27 +15,27 @@ build.examples:
15
15
16
16
.PHONY : test
17
17
test :
18
- # First we test the main module because the iteration through the modules
19
- # in the lines above is very inconvenient when the folder is ".".
20
- go test -tags=proxytest $(shell go list ./... | grep -v e2e)
18
+ @ # First we test the main module because the iteration through the modules
19
+ @ # in the lines above is very inconvenient when the folder is ".".
20
+ @ go test -tags=proxytest $(shell go list ./... | grep -v e2e)
21
21
22
- # Now we go through the examples.
22
+ @ # Now we go through the examples.
23
23
@find . -name "go.mod" \
24
24
| grep -v "\.\/go\.mod" \
25
25
| xargs -I {} bash -c 'dirname {}' \
26
26
| xargs -I {} bash -c 'cd {}; go test -tags=proxytest ./...'
27
27
28
28
.PHONY : test.e2e
29
29
test.e2e :
30
- go test -v ./e2e -count=1
30
+ @ go test -v ./e2e -count=1
31
31
32
32
.PHONY : test.e2e.single
33
33
test.e2e.single :
34
- go test -v ./e2e -run ' /${name}' -count=1
34
+ @ go test -v ./e2e -run ' /${name}' -count=1
35
35
36
36
.PHONY : run
37
37
run :
38
- envoy -c ./examples/${name} /envoy.yaml --concurrency 2 --log-format ' %v'
38
+ @ envoy -c ./examples/${name} /envoy.yaml --concurrency 2 --log-format ' %v'
39
39
40
40
.PHONY : lint
41
41
lint :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ replace github.com/tetratelabs/proxy-wasm-go-sdk => ../..
7
7
require (
8
8
github.com/stretchr/testify v1.7.1
9
9
github.com/tetratelabs/proxy-wasm-go-sdk v0.16.0
10
- github.com/tidwall/gjson v1.14.0
10
+ github.com/tidwall/gjson v1.14.1
11
11
)
12
12
13
13
require (
Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
4
4
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
5
5
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
6
6
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
7
- github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
8
7
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY =
9
8
github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
10
- github.com/tidwall/gjson v1.14.0 h1:6aeJ0bzojgWLa82gDQHcx3S0Lr/O51I9bJ5nv6JFx5w =
11
- github.com/tidwall/gjson v1.14.0 /go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk =
9
+ github.com/tidwall/gjson v1.14.1 h1:iymTbGkQBhveq21bEvAQ81I0LEBork8BFe1CUZXdyuo =
10
+ github.com/tidwall/gjson v1.14.1 /go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk =
12
11
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA =
13
12
github.com/tidwall/match v1.1.1 /go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM =
14
13
github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs =
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/tetratelabs/proxy-wasm-go-sdk
2
2
3
3
go 1.17
4
4
5
- require github.com/stretchr/testify v1.7.0
5
+ require github.com/stretchr/testify v1.7.1
6
6
7
7
require (
8
8
github.com/davecgh/go-spew v1.1.1 // indirect
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
4
4
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
5
5
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
6
6
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
7
- github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY =
8
- github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
7
+ github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY =
8
+ github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
9
9
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
10
10
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
11
11
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
You can’t perform that action at this time.
0 commit comments