chore(deps): update actions/checkout digest to b4ffde6 #145
Workflow file for this run
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: Linting | |
on: pull_request | |
jobs: | |
yaml-lint: | |
name: Run yaml linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Configure Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: Install yamllint | |
run: pip install yamllint==1.24.2 | |
- name: Run yamllint | |
run: yamllint . | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@cd81f4475ab741e097ec0fe73b692f3e49d66b8c | |
with: | |
check_together: "yes" | |
env: | |
SHELLCHECK_OPTS: -e SC2034 --shell=bash | |
shfmt: | |
name: Shell format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.x | |
- name: Install shfmt | |
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest | |
- name: Check formatting | |
run: shfmt -s -d . |