File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
2- name : Go
1+ name : CI
32
43on :
54 push :
6- branches : [ "main" ]
5+ branches : ["main"]
76 pull_request :
8- branches : [ "main" ]
7+ branches : ["main"]
98
109jobs :
11-
1210 build :
11+ name : Build & Test
1312 runs-on : ubuntu-latest
13+
1414 steps :
15- - uses : actions/checkout@v4.2.2
15+ - uses : actions/checkout@v4
16+
17+ - name : Set up Go
18+ uses : actions/setup-go@v5
19+ with :
20+ go-version : " 1.23"
21+ cache : true
1622
17- - name : Set up Go
18- uses : actions/setup-go@v5.1.0
19- with :
20- go-version : ' 1.23'
23+ - name : Vet
24+ run : go vet ./...
2125
22- - name : Build
23- run : go build -mod=readonly - v ./...
26+ - name : Build
27+ run : CGO_ENABLED=0 go build -v ./cmd/server/
2428
25- - name : Test
26- run : go test -mod=readonly -v ./...
29+ - name : Test
30+ run : go test -v ./...
Original file line number Diff line number Diff line change 1111.env.development
1212.env.staging
1313
14- # vendor is committed to simplify Docker builds without network
15- # vendor/
16-
17- # Binaries for programs and plugins
14+ # Compiled binaries
15+ gateway
16+ server
17+ main
1818* .exe
1919* .exe~
2020* .dll
2121* .so
2222* .dylib
2323
24- # Test binary, built with `go test -c`
24+ # Test binary
2525* .test
2626
27- # Output of the go coverage tool, specifically when used with LiteIDE
27+ # Coverage
2828* .out
29+ coverage.html
2930
30- # Dependency directories (remove the comment below to include it)
31- # vendor/
32-
33- # Go workspace file
31+ # Go workspace
3432go.work
33+ go.work.sum
34+
35+ # IDE
36+ .idea /
37+ .vscode /
38+ * .iml
3539
36- # Swagger codegen output
37- /output /.swagger-codegen /
40+ # OS
41+ .DS_Store
42+ Thumbs.db
You can’t perform that action at this time.
0 commit comments