Add lint workflow

soundtrack
Ensar Sarajčić 2021-11-19 00:37:22 +01:00
parent 6ea264842b
commit 99620cab62
1 changed files with 18 additions and 0 deletions

18
.github/workflows/lint.yml vendored 100644
View File

@ -0,0 +1,18 @@
name: "Lint"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup tools
run: scripts/devsetup
- name: Run linter
run: gdformat .