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

Merge branch 'dev' of https://github.com/Synth-discord-bot/Synth-bot … #134

Merge branch 'dev' of https://github.com/Synth-discord-bot/Synth-bot …

Merge branch 'dev' of https://github.com/Synth-discord-bot/Synth-bot … #134

Workflow file for this run

name: Lint (black)
on:
push:
pull_request:
types: [ opened ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- 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 black
if: ${{ always() && steps.install-deps.outcome == 'success' }}
run: |
black . --check --diff