summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-08-26 01:27:32 +0800
committerGitHub <[email protected]>2021-08-26 01:27:32 +0800
commit88b295fccbd367a32027917e9062dc6e64b58440 (patch)
tree3b2eb7a3f020a1d680cd45e44fed93dc3f03d86f /.github
parent81b48a78fe800c278b67e7f861fa507e32f86df3 (diff)
downloadATRI-88b295fccbd367a32027917e9062dc6e64b58440.tar.gz
ATRI-88b295fccbd367a32027917e9062dc6e64b58440.tar.bz2
ATRI-88b295fccbd367a32027917e9062dc6e64b58440.zip
πŸ”₯ 移陀 action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml83
1 files changed, 0 insertions, 83 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
deleted file mode 100644
index c8eb30f..0000000
--- a/.github/workflows/lint.yml
+++ /dev/null
@@ -1,83 +0,0 @@
-name: Lint
-
-on:
- push:
- paths:
- - "**.py"
- - "**.pyi"
- - ".github/workflows/lint.yml"
- pull_request:
- branches:
- - main
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- name: Lint Code
-
- steps:
- - name: Checkout πŸ›ŽοΈ
- uses: actions/checkout@v2
-
- - name: Setup Python 🐍
- uses: actions/setup-python@v2
- with:
- python-version: 3.8
-
- - uses: Gr1N/setup-poetry@v4
-
- - uses: actions/cache@v2
- with:
- path: ~/.cache/pypoetry
- key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
-
- - name: Install Dependencies πŸ”§
- env:
- POETRY_VIRTUALENVS_CREATE: "false"
- run: |
- poetry install
- python -m pip install --upgrade pip
- pip install flake8
- - name: Run Linters
- uses: wearerequired/lint-action@v1
- with:
- auto_fix: true
- black: true
- commit_message: ":rotating_light: θ‡ͺεŠ¨θΏ›θ‘Œδ»£η ζ ΌεΌεŒ–"
- git_email: [email protected]
-
- analyze:
- runs-on: ubuntu-latest
- name: CodeQL Analyze
-
- steps:
- - name: Checkout πŸ›ŽοΈ
- uses: actions/checkout@v2
-
- - name: Setup Python 🐍
- uses: actions/setup-python@v2
- with:
- python-version: 3.8
-
- - uses: Gr1N/setup-poetry@v4
-
- - uses: actions/cache@v2
- with:
- path: ~/.cache/pypoetry
- key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
-
- - name: Install Dependencies πŸ”§
- env:
- POETRY_VIRTUALENVS_CREATE: "false"
- run: |
- poetry install
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v1
- with:
- languages: python
- # Override the default behavior so that the action doesn't attempt
- # to auto-install Python dependencies
- setup-python-dependencies: false
-
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1