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
No known key found for this signature in database
GPG Key ID: 54C28F4FF5A1A949
1 changed files with
22 additions and
0 deletions
-
.github/workflows/lint.yml
|
|
|
@@ -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 |