Skip to content

Expose profile metadata #515

Expose profile metadata

Expose profile metadata #515

Workflow file for this run

name: Lint
on:
push:
pull_request:
types: [ opened, synchronize ]
jobs:
check:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up CPython 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
id: install-deps
run: |
python -m pip install --upgrade pip setuptools wheel black==22.6 requests
pip install -U -r requirements.txt
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Run Pyright
uses: jakebailey/pyright-action@v1
with:
version: '1.1.316'
warnings: false
no-comments: false
- name: Run black
if: ${{ always() && steps.install-deps.outcome == 'success' }}
run: |
black --check discord examples