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 85ddaa1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/static_checks.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:
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
gdformat --check source/
gdlint source/

0 comments on commit 85ddaa1

Please sign in to comment.