Skip to content

Update dependency urllib3 to v2.6.3 [SECURITY] - autoclosed #12

Update dependency urllib3 to v2.6.3 [SECURITY] - autoclosed

Update dependency urllib3 to v2.6.3 [SECURITY] - autoclosed #12

Workflow file for this run

name: Linting
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
ruff:
name: Ruff Linter & Formatter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry
run: pip install poetry
- name: Cache poetry virtualenv
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: poetry install
- name: Cache ruff
uses: actions/cache@v4
with:
path: .ruff_cache
key: ${{ runner.os }}-ruff-${{ github.ref_name }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-ruff-main-${{ hashFiles('poetry.lock') }}
- name: Run ruff formatter check
run: poetry run ruff format --check .
- name: Run ruff linter
run: poetry run ruff check .