This repository was archived by the owner on Sep 9, 2024. It is now read-only.
add chatbot #317
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup python | |
id: python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
id: install-deps | |
run: | | |
python3 -m pip install --upgrade black | |
python3 -m pip install --upgrade requests | |
python3 -m pip install --upgrade nextcord | |
- name: Test 1 | |
run: "black --check ." | |
env: | |
PR_TESTING: 1 | |
- name: Test 2 | |
run: "python3 .github/workflows/lint.py" | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
LINT_CODE: ${{ secrets.LINT_CODE }} |