Skip to content

Commit

Permalink
golang lint fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
MothScientist committed Jan 5, 2025
1 parent 5ae7bd6 commit 501e575
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/go_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
with:
go-version: '1.22.5'

- name: Initialize Go module (if needed)
run: |
go mod init || echo "Module already initialized"
- name: Install golangci-lint
uses: golangci/golangci-lint-action@v2

- name: Lint with golangci-lint
working-directory: ./recaptcha-microservice
run: |
golangci-lint run ./... --exclude-use-default
golangci-lint run --out-format=colored-line-number ./recaptcha-microservice/...

0 comments on commit 501e575

Please sign in to comment.