From 9f84dffd4cb6b991bea7c5e1972e5b5ceb516f39 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Fri, 23 Feb 2024 17:18:22 +0100 Subject: [PATCH] Add Github actions Closes #8 --- .github/workflows/backend.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/backend.yml diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml new file mode 100644 index 00000000..33b50ed7 --- /dev/null +++ b/.github/workflows/backend.yml @@ -0,0 +1,15 @@ +name: Backend +on: [push] +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Install dependencies + run: pip install -r backend/requirements.txt + - name: Lint code + run: ruff check backend