From 030412f7bb0e8718ec0a696df5bfdeb8509d9580 Mon Sep 17 00:00:00 2001 From: Matt Keeley Date: Sun, 11 Aug 2024 12:57:01 -0700 Subject: [PATCH] add ruff --- .github/workflows/ci.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1491246..b332a18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,20 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: pip install -r requirements.txt - - name: Run tests - run: python3 test.py \ No newline at end of file + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.x" + + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install ruff + + - name: Run Ruff + run: ruff check . + + - name: Run tests + run: python3 test.py