File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Go
2+ on : [pull_request]
3+ jobs :
4+
5+ build :
6+ name : Build
7+ runs-on : ubuntu-latest
8+ steps :
9+
10+ - name : Set up Go 1.13
11+ uses : actions/setup-go@v1
12+ with :
13+ go-version : 1.13
14+ id : go
15+
16+ - name : Check out code into the Go module directory
17+ uses : actions/checkout@v2
18+
19+ - name : Get dependencies
20+ run : |
21+ go get -v -t -d ./...
22+ if [ -f Gopkg.toml ]; then
23+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
24+ dep ensure
25+ fi
26+
27+ - name : Build
28+ run : go build -v ./...
29+
30+ - name : Test
31+ run : go test ./...
Original file line number Diff line number Diff line change 1+ name : reviewdog
2+ on : [pull_request]
3+ jobs :
4+ golangci-lint :
5+ name : runner / golangci-lint
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Check out code into the Go module directory
9+ uses : actions/checkout@v1
10+ - name : golangci-lint
11+ uses : docker://reviewdog/action-golangci-lint:v1
12+ with :
13+ github_token : ${{ secrets.github_token }}
14+ golangci_lint_flags : " --enable-all --exclude-use-default=false -D errcheck -D gomnd"
15+ level : error
16+ tool_name : golint
Original file line number Diff line number Diff line change 1+ twilio-go changelog
2+ ====================
3+ [ 2021-02-11] Version 0.1.0
4+ --------------------------
5+
You can’t perform that action at this time.
0 commit comments