From 9f9a19b1c9903081c6143c56a16778405372921b Mon Sep 17 00:00:00 2001 From: Wei-Ting Hung <107704243+angehung5@users.noreply.github.com> Date: Fri, 6 Sep 2024 11:32:48 -0400 Subject: [PATCH] Create Lint.yml --- .github/workflows/Lint.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..c436e40 --- /dev/null +++ b/.github/workflows/Lint.yml @@ -0,0 +1,19 @@ +name: Lint + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: + +jobs: + lint: + name: pre-commit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - uses: pre-commit/action@v3.0.1