Skip to content

Commit

Permalink
chore: Replace shellcheck with pre-commit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg committed Oct 12, 2022
1 parent 913018b commit 8fb75d7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: lint

on: pull_request

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install pre-commit
- uses: actions/cache@v3
id: pre-commit-cache
with:
path: ~/.cache/pre-commit
key: key-0
- uses: mfinelli/setup-shfmt@v1
- run: pre-commit run --all-files
14 changes: 0 additions & 14 deletions .github/workflows/shellcheck.yml

This file was deleted.

0 comments on commit 8fb75d7

Please sign in to comment.