File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ indent_size = 4
1717[.vscode/* .json ]
1818indent_style = space
1919indent_size = 4
20+
21+ [* .{yaml,yml} ]
22+ indent_style = space
23+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-go@v3
15+ with :
16+ go-version : ' 1.20'
17+ cache : true
18+ - run : go build -v ./...
19+ - name : Test and Generate Coverage
20+ run : go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
21+ - name : Upload Coverage Report
22+ uses : codecov/codecov-action@v3
23+ with :
24+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments