From 079189e84557dde448974104be60668d2380a56a Mon Sep 17 00:00:00 2001 From: Bohdan Sukhomlinov Date: Mon, 12 Feb 2024 22:17:41 +0200 Subject: [PATCH] pre-commit-lite --- .github/workflows/pre.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pre.yaml diff --git a/.github/workflows/pre.yaml b/.github/workflows/pre.yaml new file mode 100644 index 0000000..5024d77 --- /dev/null +++ b/.github/workflows/pre.yaml @@ -0,0 +1,19 @@ +--- +name: Pre Commit Lite + +on: + pull_request: + push: + branches: [main] + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: pre-commit/action@v3.0.1 + - uses: pre-commit-ci/lite-action@v1.0.2 + if: always()