Skip to content

Add the ruff linter and formatter to recceiver #44

Add the ruff linter and formatter to recceiver

Add the ruff linter and formatter to recceiver #44

Workflow file for this run

name: recceiver
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
ruff:
defaults:
run:
working-directory: server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
build-server:
runs-on: ubuntu-latest
needs: ruff
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
working-directory: server
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install .