chore(deps): update dependency cli/cli to v2.51.0 #409
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: Lint files | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run shellcheck | |
uses: reviewdog/action-shellcheck@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-check | |
shellcheck_flags: --external-sources --exclude=SC1090 | |
pattern: | | |
*.sh | |
.profile | |
.bashrc | |
.bash_profile | |
lint-vint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run vint | |
uses: reviewdog/action-vint@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-check | |
lint-actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run actionlint | |
uses: reviewdog/action-actionlint@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-check | |
lint-tomlcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install tomlcheck | |
run: | | |
curl -L https://github.com/vmchale/tomlcheck/releases/download/0.1.0.38/tomlcheck-x86_64-unkown-linux-gnu -o /usr/local/bin/tomlcheck | |
chmod 755 /usr/local/bin/tomlcheck | |
- name: Run tomlcheck | |
run: find . -type f -name '*.toml' -printf '%P\n' | xargs -t -I{} -n1 sh -c 'tomlcheck -f {} || echo "::error file={}::Toml lint check failed"' |