Skip to content

Commit

Permalink
Add GDToolkit-based static checks via github actions, closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Scony committed Jun 24, 2023
1 parent de0d9b4 commit e8fcedf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Static checks

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
static-checks:
name: 'Static checks'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.x
- run: python -m pip install gdtoolkit
- run: gdformat --check source/
- run: gdlint source/

0 comments on commit e8fcedf

Please sign in to comment.