From 430c93c63cb15fb8650ca26d902c16d58b9d9876 Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Fri, 20 Sep 2024 14:56:44 +0200 Subject: [PATCH] Use pre-commit/action --- .github/workflows/pre-commit.yml | 15 +++++++++++++++ 1 file changed, 15 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..b903466 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,15 @@ +name: pre-commit + +on: + pull_request: + push: + branches: [master] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt-get install -y luarocks + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1