Skip to content

Reducing the number of jobs in the CI, only running the last commit #1

Reducing the number of jobs in the CI, only running the last commit

Reducing the number of jobs in the CI, only running the last commit #1

Workflow file for this run

name: Lint

Check failure on line 1 in .github/workflows/lint_benchmarks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint_benchmarks.yml

Invalid workflow file

`concurrency` is not a valid event name
on:
# Cancel in-progress workflows when pushing
# a new commit on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
workflow_call:
jobs:
linter-flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Lint with flake8
run: |
pip install flake8
flake8 .