File tree Expand file tree Collapse file tree 5 files changed +73
-3
lines changed Expand file tree Collapse file tree 5 files changed +73
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Go
2
+ on :
3
+ pull_request :
4
+ types : [opened, synchronize, reopen] # these are the defaults - synchronize means 'commits pushed to PR'
5
+
6
+ concurrency :
7
+ group : ${{ github.ref }}
8
+ cancel-in-progress : true
9
+
10
+ jobs :
11
+ test :
12
+ name : Run tests and race detection
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Set up Go 1.19
16
+ uses : actions/setup-go@v3
17
+ with :
18
+ go-version : 1.19
19
+ id : go
20
+
21
+ - name : Check out code
22
+ uses : actions/checkout@v3
23
+
24
+ - name : Get dependencies
25
+ shell : bash
26
+ run : go get -v -t -d ./...
27
+
28
+ - name : Run tests with race detection
29
+ run : go test -v -race ./...
30
+
31
+ golangci :
32
+ name : Run golangci-lint
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - name : Check out code
36
+ uses : actions/checkout@v3
37
+
38
+ - name : golangci-lint
39
+ uses : golangci/golangci-lint-action@v3
40
+ with :
41
+ # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
42
+ version : v1.50
43
+
44
+ # Optional: show only new issues if it's a pull request. The default value is `false`.
45
+ only-new-issues : true
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - " master"
6
+
7
+ jobs :
8
+ release-please :
9
+ name : Run release-please
10
+ runs-on : ubuntu-latest
11
+ if : github.repository == 'jtwatson/twilio'
12
+ steps :
13
+ - uses : google-github-actions/release-please-action@v3
14
+ with :
15
+ release-type : go
16
+ package-name : twilio
17
+ token : ${{ secrets.PAT_RELEASES }}
Original file line number Diff line number Diff line change 1
1
# twilio
2
+
3
+ [ ![ GoDoc] ( https://img.shields.io/badge/pkg.go.dev-doc-blue )] ( http://pkg.go.dev/github.com/jtwatson/twilio )
4
+
5
+ ** twilio** implements the Twilio Programmable Voice API.
Original file line number Diff line number Diff line change 1
1
module github.com/jtwatson/twilio
2
2
3
- go 1.12
3
+ go 1.19
4
+
5
+ retract [v1.0.0 , v1.2.2 ]
4
6
5
7
require (
6
8
github.com/google/go-querystring v1.1.0
7
- github.com/hashicorp/golang-lru v0.5.1 // indirect
8
9
github.com/pkg/errors v0.8.1
9
10
go.opencensus.io v0.21.0
11
+ )
12
+
13
+ require (
14
+ github.com/hashicorp/golang-lru v0.5.1 // indirect
10
15
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect
11
16
)
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h
35
35
golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
36
36
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b /go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ =
37
37
golang.org/x/tools v0.0.0-20190226205152-f727befe758c /go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY =
38
- golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4 =
39
38
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 /go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0 =
40
39
google.golang.org/appengine v1.1.0 /go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM =
41
40
google.golang.org/appengine v1.4.0 /go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4 =
You can’t perform that action at this time.
0 commit comments