Skip to content

Commit

Permalink
add github action yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
azuur committed Jan 16, 2024
1 parent eac407d commit 4448647
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Pre-commit Hooks

on: [push]

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: Analysing the code with pylint
run: |
SKIP=no-commit-to-branch pre-commit run --all-files

0 comments on commit 4448647

Please sign in to comment.