0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

ci: add some project structure checks

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2023-03-20 19:01:26 +00:00 committed by Alexei Dodon
parent a3d8202345
commit d0d075feb4
No known key found for this signature in database
GPG key ID: D7100F38A6D5E89E

24
.github/workflows/structure.yaml vendored Normal file
View file

@ -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$'