From 9fbcc516f4b128ca6dddd02da31ed2b086d3c161 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 | 14 ++++++++++++++ 1 file changed, 14 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..10d69d0e --- /dev/null +++ b/.github/workflows/backend.yml @@ -0,0 +1,14 @@ +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