Skip to content

Commit

Permalink
chore: add make tidy and fixed action version (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: Renato Almeida <[email protected]>
  • Loading branch information
tallnato and Renato Almeida authored Mar 22, 2024
1 parent dde21df commit 22edd61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "sonar.projectKey=${{ github.event.repository.name }}" > sonar-project.properties
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@v2.0.1
uses: sonarsource/sonarqube-scan-action@v2
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ quota: ### Run main package
test: ### Runs application's tests in verbose mode
go test -v -cover ./...

tidy: ### Runs go mod tidy to add missing and remove unused modules
go mod tidy

mock:
@ rm mock/*.go || true && \
$(GOPATH)/bin/mockgen -source=pkg/service/rest_service.go -destination=mock/rest_service_mock.go -package=mock && \
Expand Down

0 comments on commit 22edd61

Please sign in to comment.