Skip to content

chore: Add .github/CODEOWNERS file (#34) #55

chore: Add .github/CODEOWNERS file (#34)

chore: Add .github/CODEOWNERS file (#34) #55

Workflow file for this run

name: Lint validation using flake8
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version:
- "3.9"
permissions:
contents: read
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip
pip install -e ".[testing]"
# We manually upgrade it to make the builds stable
pip install "flake8==6.1.0"
- name: Run flake8
run: |
flake8 slack_discovery_sdk/