Add linter actions
This commit is contained in:
18
.gitea/workflows/smart-clinic-lint-docker.yml
Normal file
18
.gitea/workflows/smart-clinic-lint-docker.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Lint Dockerfiles
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- SmartClinicManagementSystem/**
|
||||
push:
|
||||
paths:
|
||||
- SmartClinicManagementSystem/**
|
||||
jobs:
|
||||
dockerlint:
|
||||
runs-on: node20
|
||||
name: Lint Dockerfiles
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run hadolint
|
||||
uses: hadolint/hadolint-action@v3.1.0
|
||||
with:
|
||||
dockerfile: ./SmartClinicManagementSystem/app/Dockerfile
|
||||
Reference in New Issue
Block a user