Skip to content

Commit d681d21

Browse files
committed
bump go in CI, fix golangci config
1 parent 081b3ed commit d681d21

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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 }}

backend/.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ run:
99
linters:
1010
enable:
1111
- bodyclose
12-
- depguard
1312
- dogsled
1413
- dupl
1514
- errcheck

0 commit comments

Comments
 (0)