From 0fb964bb3add9fa686d49805fd55abd5955635e3 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 31 Jul 2023 23:40:46 +0700 Subject: [PATCH] add github folder and workflow --- .github/FOUNDIG.yml | 3 +++ .github/workflows/lint_python.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/FOUNDIG.yml create mode 100644 .github/workflows/lint_python.yml diff --git a/.github/FOUNDIG.yml b/.github/FOUNDIG.yml new file mode 100644 index 0000000..de69a85 --- /dev/null +++ b/.github/FOUNDIG.yml @@ -0,0 +1,3 @@ +github: bbilly1 +ko_fi: bbilly1 +custom: https://paypal.me/bbilly1 \ No newline at end of file diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml new file mode 100644 index 0000000..8740c45 --- /dev/null +++ b/.github/workflows/lint_python.yml @@ -0,0 +1,14 @@ +name: lint_python +on: [pull_request, push] +jobs: + lint_python: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + - run: pip install --upgrade pip wheel + - run: pip install bandit black codespell flake8 flake8-bugbear + flake8-comprehensions isort requests + - run: ./deploy.sh validate