Skip to content

Commit

Permalink
ci: add some project structure checks
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha authored and adodon2go committed Oct 25, 2023
1 parent a3d8202 commit d0d075f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/structure.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Project structure checks'
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- main

jobs:
check-filenames:
name: Check filenames
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: batista/lint-filenames@v1
name: Validating golang filenames
with:
path: './'
pattern: '^[_\\.a-z]+\\.go$'

0 comments on commit d0d075f

Please sign in to comment.