File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - name : set up go 1.18
14+ - name : set up go
1515 uses : actions/setup-go@v4
1616 with :
17- go-version : 1.18
17+ go-version : " 1.20 "
1818 id : go
1919
2020 - name : launch mongodb
@@ -40,12 +40,10 @@ jobs:
4040 version : latest
4141 working-directory : backend
4242
43- - name : install goveralls
43+ - name : submit coverage
4444 run : |
4545 go install github.com/mattn/goveralls@latest
46-
47- - name : submit coverage
48- run : $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
46+ goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
4947 working-directory : backend
5048 env :
5149 COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 99linters :
1010 enable :
1111 - bodyclose
12- - depguard
1312 - dogsled
1413 - dupl
1514 - errcheck
You can’t perform that action at this time.
0 commit comments