File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed 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.17
15- uses : actions/setup-go@v2
14+ - name : set up go 1.18
15+ uses : actions/setup-go@v4
1616 with :
17- go-version : 1.17
17+ go-version : 1.18
1818 id : go
1919
2020 - name : launch mongodb
2323 mongoDBVersion : " 5.0"
2424
2525 - name : checkout
26- uses : actions/checkout@v2
26+ uses : actions/checkout@v3
2727
2828 - name : build and test
2929 working-directory : backend
@@ -34,13 +34,15 @@ jobs:
3434 TZ : " America/Chicago"
3535 ENABLE_MONGO_TESTS : " true"
3636
37- - name : install golangci-lint and goveralls
37+ - name : golangci-lint
38+ uses : golangci/golangci-lint-action@v3
39+ with :
40+ version : latest
41+ working-directory : backend
42+
43+ - name : install goveralls
3844 run : |
39- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.50.0
40- GO111MODULE=off go get -u -v github.com/mattn/goveralls
41- - name : run linters
42- working-directory : backend
43- run : $GITHUB_WORKSPACE/golangci-lint run --out-format=github-actions
45+ go install github.com/mattn/goveralls@latest
4446
4547 - name : submit coverage
4648 run : $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
You can’t perform that action at this time.
0 commit comments