Skip to content

Commit

Permalink
ci: enable ls-lint via GHA and fix reported errors (gofr-dev#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoVeille authored Jul 8, 2024
1 parent 6b7cd60 commit 6563850
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,14 @@ jobs:
- name: GolangCI-Lint
run: |
golangci-lint run --timeout 9m0s
linting_party:
name: Linting Party🥳
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Check for file names errors
uses: ls-lint/[email protected]
with:
config: .ls-lint.yml
4 changes: 4 additions & 0 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
ls:
.go: snake_case
.pb.go: snake_case
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6563850

Please sign in to comment.