name: Portfolio Backend CI on: push: branches: ["main"] pull_request: branches: ["main"] jobs: build: runs-on: linux_amd64 steps: - uses: actions/checkout@v3 - name: Set up Python 3.11 uses: actions/setup-python@v3 with: python-version: "3.11" - name: Install dependencies working-directory: server run: | python -m pip install --upgrade pip pip install pytest pip install -r requirements.txt - name: Lint with black working-directory: server run: | black --check .