From 8efa8cf599cd08645a8af5b83319b2dae8f2e1f7 Mon Sep 17 00:00:00 2001 From: Takahiro Yoshimura Date: Sun, 26 Nov 2023 23:37:47 +0900 Subject: [PATCH] Adding lint action --- .github/workflows/lint.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 00000000..f4a2c830 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,23 @@ +name: push + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Check out code + - uses: actions/checkout@v3 + + - name: Setup environment + uses: actions/setup-python@v3 + with: + python-version: 3.11 + - name: Install dependencies + run: | + python -m pip install flit + flit install --deps=develop --only-deps + - name: Analysing the code + run: | + mypy trueseeing + pflake8 trueseeing