Feature/manager #449
This file contains 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
name: Reformat PR code | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
reformat: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
with: | |
submodules: "true" | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f | |
with: | |
python-version: "3.9" | |
- name: install prerequisites | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install -r ./piped/python/base-requirements/nox.txt | |
- name: Reformat | |
run: python -m nox -s reformat bot-package-diff | |
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b | |
with: | |
name: gogo.patch | |
path: gogo.patch | |
- name: Check diff file | |
run: python -m nox -s is-diff-file-empty |