summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: 91845d1b838b3718abd653b04f40a20f0ad75f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---

name: Test wscript files

on:
  push:
    branches: [master, develop]
  pull_request:
    branches: [master, develop]

jobs:
  build:

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Install dependencies
        run: |
          sudo apt-get update
          sudo apt-get install flake8 findutils
      - name: Lint with flake8
        run: find . -type f \( -iname wscript -or -iname jack_control \) -exec flake8 {} \;