Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another action
  • Loading branch information
m-kuhn committed May 5, 2020
1 parent 77ae4cd commit 56d6b23
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/pyflakes.yml
Expand Up @@ -3,11 +3,21 @@ name: Pyflakes
on: [push, pull_request]

jobs:
build:

flake8_py3:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Flake8
uses: cclauss/GitHub-Action-for-Flake8@v0.5.0
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7.4
architecture: x64
- name: Checkout PyTorch
uses: actions/checkout@master
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 56d6b23

Please sign in to comment.