Skip to content

Commit

Permalink
add lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hkiyomaru committed Nov 17, 2023
1 parent 50327d5 commit 990ebc2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Run linters
run: |
pipx install pre-commit
pre-commit run --files llm_judge/*.py

0 comments on commit 990ebc2

Please sign in to comment.