Skip to content

Bump actions/checkout from 6.0.1 to 6.0.2 (#37) #62

Bump actions/checkout from 6.0.1 to 6.0.2 (#37)

Bump actions/checkout from 6.0.1 to 6.0.2 (#37) #62

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.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/