Skip to content

Bump flake8-bugbear from 23.7.10 to 23.11.26 (#131) #136

Bump flake8-bugbear from 23.7.10 to 23.11.26 (#131)

Bump flake8-bugbear from 23.7.10 to 23.11.26 (#131) #136

Workflow file for this run

---
name: Lint Codebase
on: push
jobs:
python:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Cache Python modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.pip
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.5.0
virtualenvs-create: false
installer-parallel: true
- name: Install Python Dependencies
run: poetry install --no-interaction --no-ansi
env:
PIP_CACHE_DIR: ~/.pip
- name: Run Linting Checks
run: python -m flake8 . | tee flake8.xml
- name: Publish Linting Results
if: always()
uses: mikepenz/action-junit-report@v3
with:
report_paths: '**/flake8.xml'