Skip to content

Commit

Permalink
Run pre-commit checks in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robwittman committed Jul 11, 2023
1 parent fd6f7a6 commit 7864e97
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,27 @@ jobs:
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_YAML: true

run-hooks:
name: Run pre-commit hooks
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: 3.x

- name: Install pre-commit
run: |
pip install --upgrade pip
pip install --upgrade pre-commit
- name: Run pre-commit hooks ✅
run: pre-commit run --all-files --hook-stage manual

build_images:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 7864e97

Please sign in to comment.