Skip to content

Commit

Permalink
Initial workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Jun 13, 2024
1 parent 4697666 commit 504e4d6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Ruff Format Check
run: ruff format --check --output-format=github .
- name: Ruff Lint Check
run: ruff check --output-format=github .

0 comments on commit 504e4d6

Please sign in to comment.