Skip to content

feat(client): run_as_server开启ws服务 #118

feat(client): run_as_server开启ws服务

feat(client): run_as_server开启ws服务 #118

Workflow file for this run

name: black
on: push
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black isort
- name: Format
run: ./format.sh
- name: Commit files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
if ! [[ -z $(git status -s) ]]; then
git add *
git commit -m "Format python"
fi
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}