Skip to content

Commit

Permalink
Update the continuous integration service settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpunko committed Jul 11, 2024
1 parent ae59d07 commit d7a0632
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/hooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: git hooks

on:
push:
branches:
- "master"

jobs:
hooks:
runs-on: ubuntu-latest

steps:
- name: Step -- 1.
uses: actions/checkout@v4

- name: Step -- 2.
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Step -- 3.
run: pip3 install --upgrade pip && pip3 install --no-cache-dir --upgrade pre-commit

- name: Step -- 4.
run: python3 -m pre_commit run --all-files --config .githooks.yml

0 comments on commit d7a0632

Please sign in to comment.