From f4a84314c13d15360c35f57452b8c2f6e288aa86 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..2c541fbf --- /dev/null +++ b/.github/workflows/backend.yml @@ -0,0 +1,14 @@ +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.12' + - name: Install dependencies + run: pip install -r backend/requirements.txt + - name: Lint code + run: ruff check backend