From 0c60134a6d8537986fa80614508a7896e899a29d Mon Sep 17 00:00:00 2001 From: Christos Arvanitis Date: Sun, 1 May 2022 21:34:29 +0200 Subject: [PATCH] Add dockerfile linting --- .github/workflows/eslint-check.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/eslint-check.yml b/.github/workflows/eslint-check.yml index ae339c6..ae3a4c4 100644 --- a/.github/workflows/eslint-check.yml +++ b/.github/workflows/eslint-check.yml @@ -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 \ No newline at end of file