Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsv committed Sep 13, 2022
1 parent 5b8fcf7 commit 6391c5c
Show file tree
Hide file tree
Showing 5 changed files with 506 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
args: >
-Dsonar.organization=dedis
-Dsonar.projectKey=dedis_debugconfig
-Dsonar.projectKey=dedis_debugsync
-Dsonar.go.tests.reportPaths=report.json
-Dsonar.go.coverage.reportPaths=profile.cov
env:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ lint:

vet:
@echo "⚠️ Warning: the following only works with go >= 1.14" && \
go install ./internal/mcheck && \
go get go.dedis.ch/dela/internal/mcheck && \
go install go.dedis.ch/dela/internal/mcheck && \
go vet -vettool=`go env GOPATH`/bin/mcheck -commentLen -ifInit ./...

# target to run all the possible checks; it's a good habit to run it before
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ require (
github.com/kr/text v0.2.0 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
go.dedis.ch/dela v0.0.0-20220909115533-ad4f281a552f // indirect
golang.org/x/tools v0.1.11-0.20220316014157-77aa08bb151a // indirect
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 6391c5c

Please sign in to comment.