Skip to content

Commit

Permalink
update linter provider
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Feb 26, 2024
1 parent 53ffec7 commit c45bce6
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
pull_request:
branches:
- main
paths:
- "**/*.sh"
- ".github/workflows/*.yml"
- "Dockerfile"
# paths:
# - "**/*.sh"
# - ".github/workflows/*.yml"
# - "Dockerfile"

jobs:
check:
Expand All @@ -18,13 +18,26 @@ jobs:
steps:
- name: Checkout project ⬇️
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run ShellCheck 🐚
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -e SC2086
# - name: Run ShellCheck 🐚
# uses: ludeeus/action-shellcheck@master
# env:
# SHELLCHECK_OPTS: -e SC2086

- name: Lint Dockerfile 🐋
uses: hadolint/hadolint-action@master
with:
dockerfile: Dockerfile
# - name: Lint Dockerfile 🐋
# uses: hadolint/hadolint-action@master
# with:
# dockerfile: Dockerfile

- name: Super-linter
uses: github/super-linter/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
VALIDATE_R: true
VALIDATE_YAML: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE_HADOLINT: true
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c45bce6

Please sign in to comment.