Skip to content

Commit

Permalink
Merge pull request #12 from Victoremepunto/replace-fake8-ghaction
Browse files Browse the repository at this point in the history
Update Flake8 action
  • Loading branch information
bsquizz committed Sep 8, 2023
2 parents da045ed + 2da5417 commit 6111fec
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,28 @@ on:
push:
pull_request:
types: ["opened", "synchronize", "reopened"]

jobs:
flake8:
name: flake8
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write
steps:
- name: Checkout to master
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.x'
architecture: 'x64'

- name: Install flake8
run: pip install flake8

- name: Run flake8
uses: suo/flake8-github-action@releases/v1
- name: flake8 Lint
uses: reviewdog/action-flake8@v3
with:
checkName: 'flake8'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
filter_mode: nofilter
github_token: ${{ secrets.GITHUB_TOKEN }}

platform:
name: 💻 Platform-${{ matrix.os }}
Expand Down

0 comments on commit 6111fec

Please sign in to comment.