Skip to content

Commit

Permalink
Merge branch 'main' into 6-add-oidc-auth-to-mail-api
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Feb 13, 2024
2 parents 4d18ab4 + 7972157 commit aeb2d93
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 167 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Linters

on: [push]

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --only linters --no-root
- name: Run black
run: |
poetry run black --check .
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --only linters --no-root
- name: Run ruff
run: |
poetry run ruff .
Loading

0 comments on commit aeb2d93

Please sign in to comment.