Skip to content

Commit

Permalink
Remove Codespell from old workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Mar 8, 2023
1 parent 4bf4908 commit b5e098f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/codespell_and_flake.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'flake'
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
# https://docs.github.com/en/developers/webhooks-and-events/events/github-event-types#pullrequestevent
# workflow name, PR number (empty on push), push ref (empty on PR)
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
style:
name: 'flake'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
architecture: 'x64'
- run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install flake8
name: 'Install dependencies'
- uses: rbialon/flake8-annotations@v1
name: 'Setup flake8 annotations'
- run: make flake
name: 'Run flake8'

0 comments on commit b5e098f

Please sign in to comment.