Skip to content

Commit

Permalink
Add dockerfile linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Arvanitis committed May 1, 2022
1 parent a06771c commit 0c60134
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/eslint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@ jobs:
needs: branch_naming
steps:
- uses: actions/checkout@v2

- name: Lint Dockerfile
uses: hadolint/hadolint-action@master
with:
recursive: true
dockerfile: "Dockerfile"

- uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install eslint
run: npm install -g eslint

- name: Run ESLint
run: npm run lint

0 comments on commit 0c60134

Please sign in to comment.