Skip to content

Commit

Permalink
Merge pull request #2 from azuur/feature/add-ci
Browse files Browse the repository at this point in the history
Feature/add ci
  • Loading branch information
azuur authored Jan 16, 2024
2 parents eac407d + 2f5ae4b commit 47916dc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pre-commit Hooks

on:
pull_request:
branches: [develop]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Precommit stuff
run: |
SKIP=no-commit-to-branch pre-commit run --all-files
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#.idea/

0 comments on commit 47916dc

Please sign in to comment.