summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:27:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:27:43 +0000
commit5a5427c3888e2619d53f6943447b7db5bf082366 (patch)
tree3ecafb5ca77f89abdeddb14eb42f90187b811e0d /.github/workflows/pre-commit.yml
parentInitial commit. (diff)
downloadasciinema-5a5427c3888e2619d53f6943447b7db5bf082366.tar.xz
asciinema-5a5427c3888e2619d53f6943447b7db5bf082366.zip
Adding upstream version 2.2.0.upstream/2.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 0000000..5c1a29d
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,14 @@
+---
+name: pre-commit
+on:
+ - pull_request
+ - push
+jobs:
+ pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v3
+ with:
+ python-version: "3.10"
+ - uses: pre-commit/action@v2.0.3