From 4d2dce987febc6541b4d243513ccad4312edcbca Mon Sep 17 00:00:00 2001 From: Robson Date: Wed, 24 Jan 2024 14:17:45 -0300 Subject: [PATCH] feat: add pre-commit on CI --- .github/workflows/pre-commit.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..638386c --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,12 @@ +on: + pull_request: + push: + branches: [main] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: pre-commit/action@v3.0.0