summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-05-28 11:12:20 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-05-28 11:17:27 +0200
commite9e423af8b39701b13d8eda5d83859159d1c9977 (patch)
treea8eae803637b45f49f51cfab78273e2e7f72ddcc
parent801ddfdc83a23425e862e5fdd10563a49c35febd (diff)
ci: add lint
-rw-r--r--.github/workflows/lint.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000..46f1531
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,16 @@
+---
+name: lint
+
+on:
+ push:
+ branches: ["main"]
+ pull_request:
+ branches: ["main"]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v3
+ - uses: pre-commit/action@v3.0.1