Skip to content

chore(deps): update luizm/action-sh-checker action to v0.8.0 #62

chore(deps): update luizm/action-sh-checker action to v0.8.0

chore(deps): update luizm/action-sh-checker action to v0.8.0 #62

Workflow file for this run

name: 'Kubech CI'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
sh-lint:
name: Lint shell files (shellcheck)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
additional_files: 'kubech*'
env:
SHELLCHECK_OPTS: -e SC1091 -e SC2148 -e SC2207
sh-fmt:
name: Fmt shell files (shfmt)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Run the sh-checker
uses: luizm/action-sh-checker@76ab0b22e1f194e4a582edc7969df6485c4e9246 # v0.7.0
env:
SHFMT_OPTS: -sr -i 4 -d -ci
with:
# Disable shellcheck because there no option in sh-check to read sh files without extension.
sh_checker_shellcheck_disable: true