From 97462ebe23fe69e22bd55aaa9bfddce2fc20e091 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Mon, 11 Dec 2023 10:54:19 +0200 Subject: [PATCH] CI: add pre-commit step --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..bb19d327 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI +on: + push: + branches: + - master + tags: + - 'v*' + pull_request: + branches: + - master +jobs: + Lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.11" + - uses: pre-commit/action@v3.0.0