From e9e423af8b39701b13d8eda5d83859159d1c9977 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 28 May 2024 11:12:20 +0200 Subject: [PATCH] ci: add lint --- .github/workflows/lint.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..46f1531 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,16 @@ +--- +name: lint + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1