Skip to content

Commit

Permalink
Try out deep source
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael committed Aug 29, 2023
1 parent a279eac commit c995ad7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: make ci
env:
GOA_BRANCH: ${{ steps.extract_branch.outputs.branch }}
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}

Windows:
name: Windows
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ cmd/goa/goa
*~
*.orig
*.swp

# Deepsource
cover.out
bin/
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ depend:
@cp $(PROTOC_EXEC) $(GOPATH)/bin && \
rm -rf $(PROTOC) && \
echo "`protoc --version`"
@curl https://deepsource.io/cli | sh

lint:
ifneq ($(GOOS),windows)
Expand All @@ -70,7 +71,8 @@ ifneq ($(GOOS),windows)
endif

test:
go test ./...
go test ./... -coverprofile=cover.out
./bin/deepsource report --analyzer test-coverage --key go --value-file ./cover.out

release: release-goa release-examples release-plugins

Expand Down

0 comments on commit c995ad7

Please sign in to comment.