Skip to content

Commit

Permalink
Add shellcheck to actionlint pre-commit (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jan 3, 2025
1 parent 5fffbe7 commit 60ba3d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
curl -sSL "https://install.python-poetry.org" | python
curl -sSL 'https://install.python-poetry.org' | python
# Adding `poetry` to `$PATH`:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
echo "$HOME/.poetry/bin" >> "$GITHUB_PATH"
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
Expand Down
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ repos:
rev: v1.7.5
hooks:
- id: actionlint
additional_dependencies:
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@latest"
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.0.0
hooks:
Expand All @@ -38,7 +40,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.8.5
hooks:
- id: ruff
args: ["--exit-non-zero-on-fix"]
Expand Down

0 comments on commit 60ba3d6

Please sign in to comment.