File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a golang project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+ name : Go
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ jobs :
13+
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Set up Go
20+ uses : actions/setup-go@v4
21+ with :
22+ go-version : ' 1.20'
23+
24+ - name : Build
25+ run : go build -v ./...
26+
27+ - name : Test
28+ run : go test -v ./...
29+ {
30+ " name " : " RuneCountInString" ,
31+ " import " : " unicode/utf8" ,
32+ " pkg " : " utf8" ,
33+ " decl " : " func RuneCountInString(s string) (n int)" ,
34+ " doc " : " RuneCountInString is like RuneCount but its input is a string.\n " ,
35+ " pos " : " /usr/local/Cellar/go/1.9/libexec/src/unicode/utf8/utf8.go:412:6"
36+ }
You can’t perform that action at this time.
0 commit comments