chore: add logo #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Run the sh-checker | |
uses: luizm/action-sh-checker@7f44869033b40ee4ffe7dc76c87a1bc66e3d025a # v0.3.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 |