Skip to content

Commit

Permalink
flake8 checker added in workflow;
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjan-stha committed Jan 4, 2024
1 parent 7fb7633 commit 6dff53a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Flake8 check.

on:
pull_request:
push:
branches:
- main

jobs:
check:
name: Flake8 check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Flake8 check
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
# NOTE: this needs to be the same as the job name
checkName: 'Flake8 check'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6dff53a

Please sign in to comment.