Skip to content

Commit

Permalink
ci: add gaplint job (trailing whitespace only)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell authored and fingolfin committed Dec 17, 2022
1 parent 05c3b50 commit 3a58ca3
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .gaplint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
disable:
- W000
- W001
- W002
- W003
- W004
- W005
- W006
- W008
- W009
- W010
- W011
- W012
- W013
- W014
- W015
- W016
- W017
- W018
- W019
- W020
- W021
- W022
- W023
- W024
- W025
- W026
- W027
- W028
- W029
- W030
- W031
- W032
- W033
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Lint"
on:
workflow_dispatch:
pull_request:
push:
branches:
- "master"
- "stable-*.*"
schedule:
# Every day at 3:10 AM UTC
- cron: '10 3 * * *'

jobs:
gaplint:
runs-on: ubuntu-latest
steps:
- name: "Check out the repository"
uses: actions/checkout@v3
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: "Install gaplint with pip"
run: pip install gaplint==1.1.3
- name: "Run gaplint lib/*.gi lib/*.gd . . ."
run: gaplint lib/*.g* hpcgap/lib/*.g* grp/*.g lib/hpc/*.g hpcgap/lib/hpc/*.g

0 comments on commit 3a58ca3

Please sign in to comment.