mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +01:00
[ci] Add pre-commit GitHub Action workflow
https://github.com/pre-commit/action
This commit is contained in:
14
.github/workflows/pre-commit.yml
vendored
Normal file
14
.github/workflows/pre-commit.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: pre-commit
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: pre-commit/action@v2.0.3
|
||||
Reference in New Issue
Block a user