From 9fd83de059a9199827dfcfe4397051ec878cfea8 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 20 Oct 2024 15:18:49 -0400 Subject: Update workflows, use ruff for linting, and drop EOL python versions --- .github/workflows/lint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/lint.yml (limited to '.github/workflows/lint.yml') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ac32d61 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +name: Lint + +on: [push] + +jobs: + run-linters: + runs-on: ubuntu-22.04 + steps: + - name: Checkout source code + uses: actions/checkout@v4 + + - name: Set up Poetry + run: pipx install poetry==1.8.4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.13 + cache: "poetry" + + - name: Install Dependencies + run: poetry install --only=dev --only=lint + + - name: Run linters + run: poetry run task lint -- cgit v1.2.3