Skip to content

chore(deps): Bump actions/checkout from 4.2.0 to 4.2.1 #129

chore(deps): Bump actions/checkout from 4.2.0 to 4.2.1

chore(deps): Bump actions/checkout from 4.2.0 to 4.2.1 #129

Workflow file for this run

name: Linting
on:
push:
pull_request:
branches: [master]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Pull koalaman/shellcheck:stable Image
run: docker pull koalaman/shellcheck:stable
- name: Run Shellcheck against shell scripts
run: docker run --rm -i -v "$PWD:/mnt" koalaman/shellcheck:stable $(find . -type f -exec grep -m1 -l -E '^#!.*sh.*' {} \; | grep -v '/.git/')
# docker run --rm -i -v "$PWD:/mnt" koalaman/shellcheck:stable $(find . -type f -exec grep -m1 -l -E '^#!.*execline.*' {} \; | grep -v '/.git/')
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Pull hadolint/hadolint:latest Image
run: docker pull hadolint/hadolint:latest
- name: Run hadolint against Dockerfiles
run: docker run --rm -i -v "$PWD":/workdir --workdir /workdir --entrypoint hadolint hadolint/hadolint --ignore DL3008 $(find . -type f -iname "Dockerfile*")
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Pull markdownlint/markdownlint:latest Image
run: docker pull markdownlint/markdownlint:latest
- name: Run markdownlint against *.md files
run: docker run --rm -i -v "$(pwd)":/workdir --workdir /workdir markdownlint/markdownlint:latest --rules ~MD013 $(find . -type f -iname '*.md' | grep -v '/.git/')