Skip to content

Commit 4b43a61

Browse files
committed
ci: add some project structure checks
Signed-off-by: Ramkumar Chinchani <[email protected]>
1 parent ddbb561 commit 4b43a61

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/structure.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Project structure checks'
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- edited
7+
- reopened
8+
- synchronize
9+
push:
10+
branches:
11+
- main
12+
13+
jobs:
14+
check-filenames:
15+
name: Check filenames
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- uses: batista/lint-filenames@v1
21+
name: Validating golang filenames
22+
with:
23+
path: './'
24+
pattern: '^[_\\.a-z]+\\.go$'

0 commit comments

Comments
 (0)