Browse Source

Add github workflow for linting wscripts

.github/workflows/lint.yml:
Add github workflow for linting wscripts using findutils and flake8.
pull/826/head
David Runge 3 years ago
parent
commit
3fd2af07eb
No known key found for this signature in database GPG Key ID: 54C28F4FF5A1A949
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      .github/workflows/lint.yml

+ 22
- 0
.github/workflows/lint.yml View File

@@ -0,0 +1,22 @@
---

name: Test files

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

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install flake8
- name: Lint with flake8
run: flake8

Loading…
Cancel
Save