Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Developments

Developments #340

Workflow file for this run

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 }}