File tree 2 files changed +18
-36
lines changed
2 files changed +18
-36
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,29 @@ jobs:
24
24
cd sourcecode-parser
25
25
go mod download
26
26
27
- - name : Build
28
- run : |
29
- cd sourcecode-parser
30
- go build -o pathfinder
31
-
32
27
- name : Test
33
28
run : |
34
29
cd sourcecode-parser
35
- go test -v ./... -coverprofile=coverage.out -covermode=atomic
30
+ go test -p 2 - v ./... -coverprofile=coverage.out -covermode=atomic
36
31
37
32
- name : Upload coverage reports to Codecov
38
33
uses : codecov/codecov-action@v4.0.1
39
34
with :
40
35
token : ${{ secrets.CODECOV_TOKEN }}
36
+
37
+ golangci :
38
+ name : lint
39
+ runs-on : ubuntu-latest
40
+ defaults :
41
+ run :
42
+ working-directory : sourcecode-parser
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+ - uses : actions/setup-go@v5
46
+ with :
47
+ go-version : ' 1.23.5'
48
+ - name : golangci-lint
49
+ uses : golangci/golangci-lint-action@v5
50
+ with :
51
+ version : latest
52
+ working-directory : sourcecode-parser
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments