Skip to content
Permalink
Browse files

Another action

  • Loading branch information
m-kuhn committed May 5, 2020
1 parent 77ae4cd commit 56d6b2357c3056ec32895c9d0cf3e74f9c5ddd28
Showing with 16 additions and 6 deletions.
  1. +16 −6 .github/workflows/pyflakes.yml
@@ -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.
You can’t perform that action at this time.